Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-5415

wildfly-init-debian.sh overwrites previous log

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Minor
    • None
    • 9.0.1.Final
    • Scripts
    • None
    • Hide

      Restart Wildfly on Ubuntu/Debian: service wildfly restart

      Open the /var/log/console.log, everything from before the restart is gone

      Show
      Restart Wildfly on Ubuntu/Debian: service wildfly restart Open the /var/log/console.log, everything from before the restart is gone

    Description

      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.

      Attachments

        Activity

          People

            tomazcerar Tomaž Cerar (Inactive)
            elizabethkrumbach Elizabeth Joseph (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: