It seems like something was implemented last spring that truncates long debug statements in the developer console. All the solutions say to view the raw log. I opened the raw log from both the developer console and also from the debug logs page but both are also truncated. If anyone knows how to fix this it would be much appreciated.
Certain types of debug statements are "always" truncated (assuming they reach some arbitrary length), notably Map, List, and Set values that are debugged directly to the log.
System.debug([SELECT Name FROM Account LIMIT 50000]);
Also, if you reach the maximum log size (20MB), then there will definitely be truncation. If you need to see the entire value, consider using a Check Point instead. Also, see this trailhead on how to use Check Points.
Serializing the object (
JSON.serialize(someValue)) can also allow much larger values to be printed out, although not all objects can be serialized this way.