[jboss-jira] [JBoss JIRA] (WFWIP-181) Access logging for EJBs: no logs produced

James Perkins (Jira) issues at jboss.org
Mon Aug 26 11:25:00 EDT 2019


    [ https://issues.jboss.org/browse/WFWIP-181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13775375#comment-13775375 ] 

James Perkins commented on WFWIP-181:
-------------------------------------

Looking at the current branch only the subsystem parsing and model have been written. The actual logging doesn't look like it's been implemented.

> Access logging for EJBs: no logs produced
> -----------------------------------------
>
>                 Key: WFWIP-181
>                 URL: https://issues.jboss.org/browse/WFWIP-181
>             Project: WildFly WIP
>          Issue Type: Bug
>          Components: Logging
>            Reporter: Tommasso Borgato
>            Assignee: James Perkins
>            Priority: Blocker
>
> File {{standalone-full.xml}} can be configured via cli but it does not have the desired effect of producing logs;
> As specified in the RFE, the server is reloaded after changes;
> We verified that with the following:
> {noformat}
> <access-log>
>     <file-handler name="file1" path="ejb-access.log" relative-to="jboss.server.log.dir">
>         <formatter name="p1"/>
>     </file-handler>
>     <formatter>
>         <pattern-formatter name="p1" pattern="date time ip client ejb method event server thread"/>
>     </formatter>
> </access-log>
> {noformat}
> or
> {noformat}
> <access-log>
>     <file-handler name="file1" path="ejb-access.log" relative-to="jboss.server.log.dir">
>         <formatter name="p1"/>
>     </file-handler>
>     <formatter>
>         <json-formatter name="p1" pattern="date time ip client ejb method event server thread"/>
>     </formatter>
> </access-log> 
> {noformat}
> : no file {{standalone/log/ejb-access.log}} is produced;
> {noformat}
> <access-log>
>     <server-log-handler name="server1">
>         <formatter name="p1"/>
>     </server-log-handler>
>     <formatter>
>         <pattern-formatter name="p1" pattern="date time ip client ejb method event server thread"/>
>     </formatter>
> </access-log>
> {noformat}
> or
> {noformat}
> <access-log>
>     <server-log-handler name="server1">
>         <formatter name="p1"/>
>     </server-log-handler>
>     <formatter>
>         <json-formatter name="p1" pattern="date time ip client ejb method event server thread"/>
>     </formatter>
> </access-log>            
> {noformat}
> : no logs in {{standalone/log/server.log}};
> {noformat}
> <access-log>
>     <console-handler name="console1">
>         <formatter name="p1"/>
>     </console-handler>
>     <formatter>
>         <pattern-formatter name="p1" pattern="date time ip client ejb method event server thread"/>
>     </formatter>
> </access-log>
> {noformat}
> : no logs in console;  



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list