[jboss-jira] [JBoss JIRA] (JBRULES-3572) Logging is not working on JbossAS 7.1

Cristiano Nicolai (JIRA) jira-events at lists.jboss.org
Fri Jul 20 02:13:07 EDT 2012


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

Cristiano Nicolai commented on JBRULES-3572:
--------------------------------------------


Geoffrey,

I agree with your comment, A, B and C are exactly what I'm trying to achieve here. My only concern is that I'm not sure if the solution I got is compatible with AS 7.0, even AS 7.1.1 because of this per-deployment feature on 7.1.2, so I'm wondering that an EAP6 assembly descriptor will be need anyway at some stage, and in fact this is my target environment, then this could be an initial work on this direction.

I've submitted the following pull requests to get 5.4.x working on EAP6/AS 7.1.2:

https://github.com/droolsjbpm/droolsjbpm-build-bootstrap/pull/14
https://github.com/droolsjbpm/guvnor/pull/59

This proposal works out-of-box using the logging configuration from EAP6/AS 7.1.2 which will assume log level of INFO as org.drools.guvnor is not defined. To adjust it is just a matter of including this specific category on jboss logging subsystem with the desired log level. 

Please let me know if there is anything you think should be changed.

cheers


                
> Logging is not working on JbossAS 7.1
> -------------------------------------
>
>                 Key: JBRULES-3572
>                 URL: https://issues.jboss.org/browse/JBRULES-3572
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-guvnor
>    Affects Versions: 5.4.0.Final
>         Environment: JbossAS 7.1.2
> guvnor-distribution-wars-5.4.0.Final-jboss-as-7.0.war
>            Reporter: Cristiano Nicolai
>            Assignee: Mark Proctor
>              Labels: jboss-as7, jboss-logging, log4j, logging, slf4j
>
> Hi,
> I'm trying to get the Guvnor logging to be managed by Jboss Logging (logging subsystem) on AS 7.1.2.
> I tried to play around with
> jboss-deployment-structure.xml to include and exclude the logging libraries
> from Jboss and also removing the logging jar's from WEB-INF/lib without
> success. Also tried to tweak the log4j.xml on WEB-INF/classes.
> Here are some documentation that I have tried:
> https://docs.jboss.org/author/display/AS71/How+To#HowTo-HowdoIuselog4j.propertiesorlog4j.xmlinsteadofusingtheloggingsubsystemconfiguration%3F
> https://docs.jboss.org/author/display/AS71/Logging+Configuration
> Thanks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list