• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

loggin application logs using log4j/jboss-logging  RSS feed

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Have been having a hard time configuring logs. We have an ear file with lot of wars and ejb jars. This ear sits in deploy directory with few other ear's.
the path of ear is ../server/myServerMgmt/deploy/Myear.ear. Now in this ear are few wars which have DWR configured. JBOSS version 6.1.0

We use log4j for logging. Since its common log4j for all these ear's we have it in ../server/myServerMgmt/conf/log4j.xml which is in the classpath. We get all the logs as needed. No problem there. But we do not seem to get DWR logs using this log4j configuration. However if we configure jboss-logging.xml to provide these DWR logs; they seem to work fine. From jboss-loggin.xml though i do not seem to get my application logs.

If you see the configuration now; it is split across log4j.xml(my application logs) and jboss-logging.xml(DWR logs). Since one doesnt seem to configured from the othere. My requirement is to have them configured at one place. Does anyone seem to know what is wrong here.?
 
Bartender
Posts: 20728
124
Android Eclipse IDE Java Linux Redhat Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
DWR = Direct Web Remoting.

Please don't use acronyms without explaining them unless they are well-known. I had to really dig around for that one.

Worse, some acronyms have multiple meanings. At one time IBM was using "CRA" to mean 5 very different things in 5 very different products. So please make our lives a little easier!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!