Register / Login
Win a copy of
Kotlin in Action
this week in the
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Log message in SystemOut.log in WAS5.1x using Sun's logging API
posted 11 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.
Boost this thread!
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)