]
Tomaz Cerar commented on WFLY-5415:
-----------------------------------
you should be using server.log not console.log for everything that server logs.
console is primarily useful for development but can cause severe performance hit when used
in production.
wildfly-init-debian.sh overwrites previous log
----------------------------------------------
Key: WFLY-5415
URL:
https://issues.jboss.org/browse/WFLY-5415
Project: WildFly
Issue Type: Bug
Components: Scripts
Affects Versions: 9.0.1.Final
Environment: Wildfly 9.0.1 Final on Ubuntu 14.04 LTS running the Zanata
(
zanata.org) translations platform.
Reporter: Elizabeth K. Joseph
Assignee: Tomaz Cerar
Priority: Minor
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.