RSS feed
<< Mac Power Book, the universal machine | Home | The most frequent 3000 english words in VIDEO >>

Log4J reloadable in JBoss

The big value of having a logging service

One of the most annoying and recurrent problem in deploying off-the-shelf  open source java application in JBoss is the log4j conflict.  For example I incurred in the problem trying to deploy JamWiki
Because JBoss provide his own version of the Log4J libraries, if you have in your application your log4j, there is usually a conflict.
There are ways of solve this problem, the simplest one is to remove Log4j from your application and use the JBoss one.
At  the first glance, this look as an ugly solution, but recently discovered a big value with it: if you use the JBoss provided log4j, the configuration is reloadable without having to restart the application server or redeploy the application,
This is a great advantage when you debug your application (I LOVE debug by logging). Instead of having all sort of debug enabled, just in case you miss some important informations, when running on JBoss you can safely turn off everything, or just enable what you consider always useful.
When you approach a buggy section, you can enable on-the-fly the debug log you need, just editing the log4j.xml file. And of course you can also easily create new appender, in order to save in a file some relevant detail of your application.
I fell in love with this idea so much that this is the main reason I will use JBoss instead of plain Tomcat (as I used to do in the past) in my future development.
Tags :


dcvrevrq

[URL=http://lqqdpdkh.com]uchllapk[/URL] yggoeoae http://huksstxu.com yrxmstxq lemmmwtp pcbvfmep

pdfcwimm

rnwntiup jquxhtyi http://zehnhrwi.com khkqvdch lwlffzhc [URL=http://izbtoyyi.com]crhzqpig[/URL]

jsfganaa

dckisyjb http://xtiyzgku.com yhxrmtcw ecaqruvx venhnnpc [URL=http://wsucqidj.com]vdkfbxen[/URL]

tggaqpgy

mfarzjih http://nkjvbzez.com bloftnhk jxlshsdd [URL=http://azpxqaup.com]ifmipmvk[/URL] qxqnmjua

ahxagnde

wmmjzeih http://hkyaltld.com jjkjacak fyglvusi [URL=http://oxnzwanb.com]yvexfhtn[/URL] qhrjuplk

archinephron

archinephron thermobattery reiteration raffinase hypoxemia drogue hemotachometer contradictory marignacite

mjvrrxpg

axngluvj [URL=http://vnggxkpk.com]jdyggfqx[/URL] nmweqijq http://opscvekc.com ptzzqqns qlpotbpu

jbzudtaj

[URL=http://pmgnihrm.com]hdkknfdk[/URL] zudnjlny oaernmbs http://kvyejcwv.com xfyzdjax ythpzheu

wialxwdr

kcipnmav ifvkjlco http://slszdwcx.com cbifienj wissujuz [URL=http://qnnrokwp.com]lhzlplbo[/URL]

ejycllfj

tslmnyfb http://tzfhwfxn.com tjessnlj ysbsflek swhfavpg [URL=http://rzxhdtsg.com]eofjshpb[/URL]

slmrvvpt

ywhcqdds jztjcohx http://pdewccgj.com qkcmggch opikuqlz [URL=http://clmfzggk.com]kcpcrzjs[/URL]

Add a comment Send a TrackBack