HT's TreeChop

HT's TreeChop

3M Downloads

Treechop floods logfile with messages

aelfwyne opened this issue ยท 3 comments

commented

Could you reduce or an a config option to reduce the massive flood of logfile messages frmo Treechop? I have 100+ mods and 90%+ of my log is from Treechop!

It seems to log the block count anytime your tool is pointing at a log. If you stand AFK pointing at a log, it just spams the logfile.

Example 1: Mouse just glances past a tree with a tool in hand, it floods the logfile like this:
[18:39:55] [Server thread/INFO] [treechop/]: show tree blocks
[18:39:55] [Server thread/INFO] [treechop/]: 41 dark_oak_log
[18:39:55] [Server thread/INFO] [treechop/]: show tree blocks
[18:39:55] [Server thread/INFO] [treechop/]: 41 dark_oak_log
[18:39:55] [Server thread/INFO] [treechop/]: show tree blocks
[18:39:55] [Server thread/INFO] [treechop/]: 41 dark_oak_log
[18:39:56] [Server thread/INFO] [treechop/]: show tree blocks
[18:39:56] [Server thread/INFO] [treechop/]: 41 dark_oak_log
[18:39:56] [Server thread/INFO] [treechop/]: show tree blocks
[18:39:56] [Server thread/INFO] [treechop/]: 41 dark_oak_log
[18:39:56] [Server thread/INFO] [treechop/]: show tree blocks
[18:39:56] [Server thread/INFO] [treechop/]: 41 dark_oak_log
[18:39:57] [Server thread/INFO] [treechop/]: show tree blocks
[18:39:57] [Server thread/INFO] [treechop/]: 41 dark_oak_log
[18:39:57] [Server thread/INFO] [treechop/]: show tree blocks
[18:39:57] [Server thread/INFO] [treechop/]: 41 dark_oak_log
[18:39:57] [Server thread/INFO] [treechop/]: show tree blocks
[18:39:57] [Server thread/INFO] [treechop/]: 41 dark_oak_log

Example 2: I'm standing in a building that's built using a lot of logs. It seems to be trying to count the logs in the building and is flooding the logfile like this:
[18:58:46] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[18:58:46] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[18:58:46] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[18:58:46] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[18:58:46] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[18:58:49] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[18:58:49] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[18:58:49] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[18:58:49] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[18:58:50] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[18:58:50] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[18:58:50] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[18:58:50] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[18:58:50] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[18:58:51] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[19:03:51] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[19:03:51] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[19:03:51] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[19:03:51] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[19:03:52] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[19:03:52] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[19:03:52] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[19:03:52] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[19:03:52] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[19:03:52] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[19:03:52] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[19:03:52] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[19:03:52] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[19:03:53] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[19:03:54] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[19:03:54] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[19:03:55] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[19:03:55] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[19:03:55] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[19:03:56] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[19:03:57] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[19:03:57] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[19:03:59] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[19:03:59] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[19:03:59] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[19:03:59] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[19:04:00] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[19:04:01] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[19:04:01] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[19:04:01] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[19:04:01] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[19:04:01] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[19:04:03] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)
[19:04:03] [Server thread/WARN] [treechop/]: Max tree size reached: 320 >= 320 blocks (not including leaves)

commented

Oh gosh!! That "show tree blocks" stuff must have been just for testing, definitely should not be there. I can definitely reduce the "Max tree size" messages too. Thanks for pointing this out. In the future, I'll also add an option to disable info/warning message (#152) in case something like this happens again.

commented

Oh gosh!! That "show tree blocks" stuff must have been just for testing, definitely should not be there. I can definitely reduce the "Max tree size" messages too. Thanks for pointing this out. In the future, I'll also add an option to disable info/warning message (#152) in case something like this happens again.

No problem! I was sure you were trying to debug something when those were added.

commented

Sorry for the wait! This should be fixed in 0.17.3, currently for minecraft 1.19.2, but I'll port back to 1.18.2 soon-ish. I've also added a config option to disable debug messages in case anything like this happens again.