thane98 / paragon

Toolkit for editing various FE games.
GNU General Public License v3.0
56 stars 17 forks source link

Use log level DEBUG to make logs filterable #23

Closed muhmuhten closed 4 years ago

muhmuhten commented 4 years ago

Sets some of the noisiest log messages to level DEBUG so that only the corresponding reads from filesystem get emitted at level INFO, but also set the default logging level to DEBUG so that they're still saved to paragon.log by default.

I usually run with logging to stderr (= my terminal), which 9b7936c30ddd6107500146a280670ea619fa2cbc made extremely noisy with literally thousands of lines of "Found m/GameData.bin.lz in cache." and "Opening message archive at path m/GameData.bin.lz", drowning out useful diagnostics.

I also put the "Parsing property" on level DEBUG because those have pushed JSON parse exceptions off my screen in the past.