-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
9.0.1.Final
-
None
We had to restart Wildfly on our Ubuntu 14.04 LTS server due to some issues with the application on top of it, and during the restart the init script wiped out our old logs and replaced them with the new logs, leaving us with none of the debugging information needed to track down our problem.
It looks like this line is to blame in bin/init.d/wildfly-init-debian.sh:
cat /dev/null > "$JBOSS_CONSOLE_LOG"
Currently using wildfly-9.0.1.Final.
Configure logging in logging subsystem to log to server.log only and not also to console.
This way you wont lose anything and it will also perform better.