Register / Login
Win a copy of
The Java Performance Companion
this week in the
Log message in SystemOut.log in WAS5.1x using Sun's logging API
posted 10 years ago
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.
Configuring the Business Logs into a separate log file other than SystemOut.log
Question for the experts!
custom logging in websphere 7
NX:Help on Logging messages unusual output
Sun's Logger to log message in App Server log (SystemOut.log in WAS)