[jbosstools-issues] [JBoss JIRA] (JBIDE-16380) JBOSS 6.2 EAP doesnt print jdk logging.

Vineela Gampa (JIRA) issues at jboss.org
Fri Jan 17 14:02:32 EST 2014


     [ https://issues.jboss.org/browse/JBIDE-16380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vineela Gampa resolved JBIDE-16380.
-----------------------------------

    Release Notes Text: 
Didnt realize it is in jboss tools. Created new one in jboss application server platform. 

https://issues.jboss.org/browse/JBEAP-42
            Resolution: Rejected

    
> JBOSS 6.2 EAP doesnt print jdk logging. 
> ----------------------------------------
>
>                 Key: JBIDE-16380
>                 URL: https://issues.jboss.org/browse/JBIDE-16380
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>            Reporter: Vineela Gampa
>              Labels: jboss
>
> We log request and response using com.sun.jersey.api.container.filter.LoggingFilter which uses java.util.logging.Logger . Application specific logs are getting printed with the below jboss-deployment-structure contents .
> <exclusions>
>       <module name="org.apache.log4j" />
>       <module name="org.slf4j.jcl-over-slf4j" />
>       <module name="org.slf4j.impl" />
>       <module name="org.slf4j" />
>       <module name="org.slf4j.ext" />
>       <module name="org.apache.commons.logging" />
> </exclusions>
> Debugged a lot but couldnt figure out why jdk logging is going to jboss server.log rather than the appender configured in log4j.properties. 
> log4j.logger.com.sun.jersey.api.container.filter.LoggingFilter=INFO, RESTService
> log4j.additivity.com.sun.jersey.api.container.filter.LoggingFilter=false
> #requests to serve a log file
> log4j.appender.RESTService=com.macys.mobile.framework.logging.log4j.v1216.AsynchronousRollingFileAppender
> log4j.appender.RESTService.BufferSize=512
> log4j.appender.RESTService.Blocking=true
> log4j.appender.RESTService.File=${app.log.root}/rest.log
> log4j.appender.RESTService.DefaultConsoleThreshold=INFO
> log4j.appender.RESTService.ConsoleThreshold=INFO
> log4j.appender.RESTService.threshold=INFO
> # Maximum file size and no: of back up files can be configured as per the production environment requirement
> log4j.appender.RESTService.MaxFileSize=100MB
> log4j.appender.RESTService.MaxBackupIndex=10

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list