screen log vs. file log

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

screen log vs. file log

David Shere
I've noticed that there is a difference between the log as it appears in
the ofbiz.log logfile and how it appears on the screen.  Take the last two
lines of the demo setup as an example:

Screen:
2006-09-19 08:46:30,597 (main) [ BeanShellContainer.java:100:INFO ] Started BeanShell telnet service on 9989, 9990
2006-09-19 08:46:30,598 (main) [ BeanShellContainer.java:101:INFO ] NOTICE: BeanShell service ports are not secure. Please protect the ports

Log File:
39213[ BeanShellContainer.java:100:INFO ] Started BeanShell telnet service on 9989, 9990
39214[ BeanShellContainer.java:101:INFO ] NOTICE: BeanShell service ports are not secure. Please protect the ports

The screen includes the timestamp and "(main)" whereas the log file has a
line number.  Is there a logic behind this?

I would want to see the timestamp in the log file.