| Author |
APP & WEB with different log file
|
Lester Tam
Ranch Hand
Joined: Jun 19, 2003
Posts: 31
|
|
Hello all, I have an application which will use the weblogic as both app & web server in the same instance. I want to use different logger to log down the stuff from app & web but as some of the util classes are shared by both server, so i need a way to let the logger know who is calling it, the web or app Something like: class logManager() { .... Logger getLogger () { if (<<web server calling me>> { return (weblogger); }else { return (applogger); } } .... } any idea ? Thanks Lester
|
 |
 |
|
|
subject: APP & WEB with different log file
|
|
|