Login  Register

screen log vs. file log

Posted by David Shere on Sep 19, 2006; 1:51pm
URL: http://ofbiz.116.s1.nabble.com/screen-log-vs-file-log-tp141916.html

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.