[jboss-jira] [JBoss JIRA] (WFLY-5415) wildfly-init-debian.sh overwrites previous log

Tomaz Cerar (JIRA) issues at jboss.org
Fri Sep 25 19:16:01 EDT 2015


    [ https://issues.jboss.org/browse/WFLY-5415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13112701#comment-13112701 ] 

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.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list