Overall improvements to log messages (#9598)

Hide some unnecessarily verbose ones behind --trace or disable them entirely.
Remove duplicate ones. Improve their contents in some places.
This commit is contained in:
sfan5
2020-04-08 20:13:23 +02:00
committed by GitHub
parent 3494475df1
commit de73f989eb
22 changed files with 87 additions and 111 deletions

View File

@@ -1827,10 +1827,10 @@ void ServerMap::save(ModifiedState save_level)
*/
if(save_level == MOD_STATE_CLEAN
|| block_count != 0) {
infostream<<"ServerMap: Written: "
<<block_count<<" block files"
<<", "<<block_count_all<<" blocks in memory."
<<std::endl;
infostream << "ServerMap: Written: "
<< block_count << " blocks"
<< ", " << block_count_all << " blocks in memory."
<< std::endl;
PrintInfo(infostream); // ServerMap/ClientMap:
infostream<<"Blocks modified by: "<<std::endl;
modprofiler.print(infostream);