Does anyone know how I can reduce the width of each line on a glassfish log. It seems to contain lots of information that I do not need. Below is an example of one line.
[#|2012-03-04T16:00:09.537+0000|INFO|oracle-glassfish3.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=94;_ThreadName=Thread-1;|16:00:09,537 INFO MyClassNameThatIsLogging:89 - LogMessageHere
All I really care about is:
- the time at the beginning - although not even in this much deatail (
2012-03-04T16:00:09.537+0000
) - the log level (
INFO
) - The classname/line number (
MyClassNameThatisLogging:89
) - The message (
LogMessageHere
)
I dont care about this part
oracle-glassfish3.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=94;_ThreadName=Thread-1;
Where is this configured?
I have found Install log formater in glassfish, but it seems a bit extreme. Do I really have to create my own logger?
Thanks in advance