Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-1919

AS7 7.0.x-Snapshot - logging at shutdown is lost

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Critical
    • Awaiting Volunteers
    • Awaiting Volunteers
    • Logging
    • None
    • Hide

      Create a module extension that kickstarts a module.

      After startup is marked as ok - do : CTRL-C - for shutdown. The module should have a "stop" method implemented where it should dump some logs. You'll notice that some are logged - some are not.

      Show
      Create a module extension that kickstarts a module. After startup is marked as ok - do : CTRL-C - for shutdown. The module should have a "stop" method implemented where it should dump some logs. You'll notice that some are logged - some are not.
    • Hide

      System.console.printf

      Show
      System.console.printf

    Description

      At shutdown, the logging from the module that I used is partially lost. When debugging I add: System.console().printf at same locations as the logger.info (java.util), only the System.console output was captured for 90% of the traces.

      And I believe it is related to the fact that the traces are "moved" from server.log towards boot.log ! This assumption is because the other 10% are going to boot.log.

      If I attached the debugger remotely then I will get the logs but that is because some thread synchronization is different.

      Would be nice to have this addressed.

      Attachments

        Issue Links

          Activity

            People

              dlloyd@redhat.com David Lloyd
              lmcdasi Dan Sirbu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: