|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Process Server logging |
« View previous topic :: View next topic » |
Author |
Message
|
chauhan_vin1 |
Posted: Mon Oct 20, 2008 9:06 am Post subject: Process Server logging |
|
|
Apprentice
Joined: 24 Feb 2006 Posts: 36 Location: Phoenix AZ
|
Hi,
Can we have project specific logs seperately logged in process server.
We have just one Systemout.log , but can we have some framework like Log4j so that we have a project specific logs in a different set of folder.
How to do that, using log4j can we configure lof location , I think Log4j would log all the possible thing in Systemout.log itself.
Does it solve our problem for seperating project specifig logs ??
Thanks,
Vineet |
|
Back to top |
|
 |
JLRowe |
Posted: Tue Oct 21, 2008 1:32 am Post subject: |
|
|
 Yatiri
Joined: 25 May 2002 Posts: 664 Location: South East London
|
You can easily seperate the log messages generated by your code, just use a marker and then configure log4j to log to different logs per marker.
Of course, you can seperate by package name also, but your projects might share the same code so this would be no good.
All WAS + WPS internal logging uses java 1.4 internal logging, this is configured via the admin console. I am not too sure if WAS logs via commons logging, if it does then it would be possible to divert ALL log entries to log4j and log this way.
I have been using logback + sl4j lately, logback has better configuration options than log4j. logback is written by the same chap who wrote log4j. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|