A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Log message in SystemOut.log in WAS5.1x using Sun's logging API
Joined: Jul 21, 2003
Oct 24, 2005 11:42:00
How can I log messages in Application Server log (e.g., log message in SystemOut.log in WebSphere App Server) using Logging classes from Sun?
I am using code below:
c1 = new
logger.log(Level.WARNING, "Exception thrown while connecting to LDAP.", e);
only logs message in console, not in application log.
What do I need to do to log message in log file of app server?
I have used Log4J for this purpose before. But would like to be lightweight and would like to use Sun's own logging.
I agree. Here's the link:
subject: Log message in SystemOut.log in WAS5.1x using Sun's logging API
Configuring the Business Logs into a separate log file other than SystemOut.log
Question for the experts!
Sun's Logger to log message in App Server log (SystemOut.log in WAS)
NX:Help on Logging messages unusual output
custom logging in websphere 7
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014