config server log
The Sun AppServer (8.0)'s server.log ouput the following
[#|2006-04-25T10:11:14.828-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.sy stem.stream
.out|_ThreadID=14;| my log message|#]
This is rather ugly and carry unecessary info that i careless about.
how do i config the server.log to be something more like
[INFO] - (MyClass.java:123) - my log message
I can't seem to find where Sun specified the pattern to use for logging (like log4j property file)
# 1
Guys, anyone know an answer for this? I am stumbling into the same issue, the log file contains too much info, and I can't config it. Anyone have any idea abt this?
# 3
> Apparently it seems that NO ONE here knows how to get
> this working, is this even doable?
>
> Anyone know how to use log4j to replace SUN's logging?
I have to admit that there is no current way to configure the fields of
a server log record for sun's app server. We should be doing something
better here. The server.log records appear the way they do partly because
there is a server log viewer in the admin GUI that needs the log records in a
particular format.
We shall provide an API to parse the server.log records in a required format.
Thanks,
Kedar