[opencms-dev] Log-Configuration on JBoss 7.2.0

Arash Kaffamanesh ak at cloudssky.com
Wed Mar 12 19:51:55 CET 2014


Hi Thomas, Stephan,

I'm very interested to know, why you are using JBoss and which benefits it
has compared to Tomcat or TomEE.

Thanks for your feedback in advance!

Kind Regards,
Arash

Like <https://www.facebook.com/cloudssky> |
Follow<https://twitter.com/CLOUDSSKYONE>
 | Build your CloudSite with OpenCms
OCCX<http://cloudssky.com/en/cloud_services/cloudsites.html>



On Wed, Mar 12, 2014 at 7:02 PM, Stephan Schrader <zstephanz at gmail.com>wrote:

> Hi Thomas,
>
> in our projects we had to include the "org.jboss.logmanager" module. You
> can declare this inside the jboss-deployment-structure.xml, like this:
> <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.0">
>     <deployment>
>         <dependencies>
>             <module name="org.jboss.logmanager"/>
>         </dependencies>
>     </deployment>
> </jboss-deployment-structure>
>
> After that all log messages will appear in the JBoss server.log.
>
> Stephan
>
>
> 2014-03-12 16:57 GMT+01:00 Thomas G. <guo.tuomi at googlemail.com>:
>
>> Hi,
>>
>> we're running a OpenCMS 8.0.4 instance on a JBoss 7.2.0 but have problems
>> getting the logging to work correctly.
>>
>> Logging works in that opencms.log is written but we require the OpenCMS
>> logger to append to the JBoss logger, i.e. both JBoss and OpenCMS should
>> log to the console and JBoss' server.log file.
>>
>> Previously the same OpenCMS instance was running on a JBoss 4.2.3.GAinstance where everything worked as expected.
>>
>> Here's an excerpt from our log4j.properties file:
>>
>> log4j.rootLogger=\
>>     OC,\
>>     CONSOLE
>>
>> log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
>>
>> log4j.appender.OC=org.apache.log4j.RollingFileAppender
>>
>>
>>
>> We tried a couple of things, like exluding log4j, slf4j etc. or placing
>> jcl-over-slf4j etc. into OpenCMS' lib folder, but had no success yet.
>>
>> Any ideas?
>>
>> Thanks in advance,
>>
>> Thomas
>>
>> _______________________________________________
>> This mail is sent to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, please visit
>> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>>
>>
>>
>>
>>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20140312/9ba84e6a/attachment.htm>


More information about the opencms-dev mailing list