Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-17469

[GSS](7.2.z) Not able to view log files in admin console if its created via logging-profile

    Details

    • Target Release:
    • Steps to Reproduce:
      Hide

      Create logging-profile in logging subsystem, like as:

      
      <logging-profiles>
         <logging-profile name="LoggingProfile1">
            <periodic-rotating-file-handler name="Test" autoflush="true">
               <formatter>
                  <named-formatter name="PATTERN" />
               </formatter>
               <file relative-to="jboss.server.log.dir" path="application.log" />
               <suffix value=".yyyy-MM-dd" />
               <append value="true" />
            </periodic-rotating-file-handler>
            <root-logger>
               <handlers>
                  <handler name="Test" />
               </handlers>
            </root-logger>
            <formatter name="PATTERN">
               <pattern-formatter pattern="%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p [%c] (%t) %s%e%n" />
            </formatter>
         </logging-profile>
      </logging-profiles>
      

      2. Deploy attached application, and try to check application.log in admin console.

      Show
      Create logging-profile in logging subsystem, like as: <logging-profiles> <logging-profile name= "LoggingProfile1" > <periodic-rotating-file-handler name= "Test" autoflush= " true " > <formatter> <named-formatter name= "PATTERN" /> </formatter> <file relative-to= "jboss.server.log.dir" path= "application.log" /> <suffix value= ".yyyy-MM-dd" /> <append value= " true " /> </periodic-rotating-file-handler> <root-logger> <handlers> <handler name= "Test" /> </handlers> </root-logger> <formatter name= "PATTERN" > <pattern-formatter pattern= "%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p [%c] (%t) %s%e%n" /> </formatter> </logging-profile> </logging-profiles> 2. Deploy attached application, and try to check application.log in admin console.
    • QE Test Coverage:
      -

      Description

      Log files created via logging-profile in EAP 7.2 release are not able to view in admin console. It failed with below error:

      ~~~~
      WFLYCTL0216: Management resource '[
      (\"subsystem\" => \"logging\"),
      (\"log-file\" => \"application.log\")
      ]' not found"
      ~~~~

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  istudens Ivo Studensky
                  Reporter:
                  abhumbe Abhijit Humbe
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: