Details

    • Similar Issues:
      Show 10 results 

      Description

      Add a deployment descriptor for per-deployment logging. Should also support user-defined handler (JUL) and appender (log4j) configurations.

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            Rohan Emmanuel added a comment -

            is there is any example demonstrating how to configure per-deployment logging?

            Show
            Rohan Emmanuel added a comment - is there is any example demonstrating how to configure per-deployment logging?
            Hide
            Will Tatam added a comment -

            Yes, just create logging.properties, jboss-logging.properties, log4j.properties, log4j.xml or jboss-log4j.xml following normal log4j style config rules inside your META-INF or WEB-INF directories

            Show
            Will Tatam added a comment - Yes, just create logging.properties, jboss-logging.properties, log4j.properties, log4j.xml or jboss-log4j.xml following normal log4j style config rules inside your META-INF or WEB-INF directories
            Hide
            Rohan Emmanuel added a comment - - edited

            i created a logging.properties and put it in META-INF folder for the .jar file and deployed, the specific log file is being created ,but app is not logging anything into it..can you point out what am i missing please?

            Show
            Rohan Emmanuel added a comment - - edited i created a logging.properties and put it in META-INF folder for the .jar file and deployed, the specific log file is being created ,but app is not logging anything into it..can you point out what am i missing please?
            Hide
            jaikiran pai added a comment -

            Rohan, please use the forums for discussing that issue.

            Show
            jaikiran pai added a comment - Rohan, please use the forums for discussing that issue.
            Hide
            Will Tatam added a comment -

            Most likely running 7.1.1 rather than 7.1.2 or later or possibly not using jboss logging or log4j logging inside your app but using something else like java util logging

            The per-deployment log will also only include logger that are inside your deployment, e.g you won't see any messages about the jar deploying, SFSBs being passivated as this is done by the container, not my your code

            Show
            Will Tatam added a comment - Most likely running 7.1.1 rather than 7.1.2 or later or possibly not using jboss logging or log4j logging inside your app but using something else like java util logging The per-deployment log will also only include logger that are inside your deployment, e.g you won't see any messages about the jar deploying, SFSBs being passivated as this is done by the container, not my your code

              People

              • Assignee:
                James Perkins
                Reporter:
                David Lloyd
              • Votes:
                16 Vote for this issue
                Watchers:
                35 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Development