Saturday, 2 October 2010

Using our own log4j.xml file with each WAR files - Log4j RepositorySelector

Today i came across this below article which helps us to have separate log4j files for each web application.

http://community.jboss.org/wiki/Log4jRepositorySelector

I tried to test in tomcat and it is working fine and ideally it should work for weblogic and other application server as well.

2 comments:

Nagaraju said...

Hi thank u for writing java blog and also joined in my blog follower

ఈ విజ్ఞాన భావాలను ఎంత వేగంగా ఎందరికి ఎప్పుడు ఎలా అందించగలరు
నేటి సాంకేతిక విజ్ఞానం ద్వార కొన్ని క్షణాలలో ఎన్నో వేల జనానికి సులువుగా
నా భావాలు విశ్వాన్ని మార్చేందుకు అవసరమేనని సాంకేతిక యంత్ర ప్రయాణం
నా భావాలు ఎలాగైనా ఏ స్వభావాలతోనైనా ఏ స్పర్శతోనైనా ఏ యంత్రముల నుండైనా
ఎవరితోనైనా ఏ క్షణమైనా ఎంత వేగమైనా ఏ ప్రాంతమైనా ఎన్ని విధాలైనా ప్రయాణిస్తాయి
వేల జనాల భావాలు కోట్ల జనాల విశ్వ ప్రగతికి అవసరమవుతాయని నా భావ ప్రయాణం
నా విశ్వ విజ్ఞాన మేధస్సు కోసం మీ విజ్ఞాన మేధస్సు భావాలతో విశ్వ ప్రయాణాన్ని సాగిస్తుంది

Javin @ Tibco RV Tutorial said...

logging is very important part of writing java code specially if you are writing java code on server side. I have used both log4j and java.util.logger and found log4j more flexible and easy to use.

Thanks
Javin
Why String is immutable in Java
FIX Protocol tutorial