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

wildfly-init-debian.sh overwrites previous log

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Rejected
    • Affects Version/s: 9.0.1.Final
    • Fix Version/s: None
    • Component/s: Scripts
    • Labels:
      None
    • Steps to Reproduce:
      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

            Assignee:
            ctomc Toma┼ż Cerar (Inactive)
            Reporter:
            pleia2 Elizabeth Joseph (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: