WorldGuard recursively adds tag on reload
LadyCailinBot opened this issue ยท 6 comments
WORLDGUARD-3192 - Reported by Llosidian
Every time you do a /reload, WorldGuard adds an ADDITIONAL instance of [WorldGuard] to the beginning of its log lines, which seriously clutters up the log and makes for bloated log files on long-running servers.
Comment by Llosidian
Yeah, I'm still getting a server up and running, and also running a server locally to make sure that my own plugins are working right. It was just something that I noticed.
Comment by PseudoKnight
I'm not sure if I was clear or not. I'm not suggesting you don't use /reload to avoid this particular issue. /reload causes many issues. If you want to reset a plugin, I suggest using the plugin's reload command (eg. /wg reload). If that's not available for a plugin, then at worst reload it individually with something like PlugMan. This will still potentially break things with that plugin, but at least it limits the damage and memory use.
Comment by Llosidian
I gotcha. I'm aware of several of the problems related to /reload. I have a grand total of 3 users right now, and I'm usually the only one on when I'm messing with the plugins. Several of my plugins do not have their own reload command, and I haven't gotten around to installing a plugin manager yet. The server has only been up a week. Once I actually have everything stable, and I have users so that I actually care about not completely crashing/destroying the server, I'll be sure to have that set up right so that restarts and reloads will be almost entirely unnecessary. Right now, for some of the things I have been working on, it involved restarting or reloading the server every 5-10 minutes for another test... I still have 2 items on that list to clear before I get to what I would consider a "stable" environment.
Comment by sk89q
I can't reproduce this.
I actually looked at the code and I apparently wrote code to prevent this too, so I'm stumped.