cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Apache Log

KGH
1-Newbie
1-Newbie

Apache Log

Please help to know the difference of below two logs.

•MethodServer-<pid>.log

•MethodServer-<pid>-log4j.log

1 ACCEPTED SOLUTION

Accepted Solutions
jessh
5-Regular Member
(To:KGH)

The log4j log file contains only log4j output -- and the logging therein is thus consistently formatted as per the log4j configuration.

The other log file contains the log4j output (with a few exceptions to reduce verbosity) *and* legacy output to System.out or System.err.

In 10.1 and higher these are unified into 1 log file with System.out and System.err output being routed to specific log4j loggers.

View solution in original post

1 REPLY 1
jessh
5-Regular Member
(To:KGH)

The log4j log file contains only log4j output -- and the logging therein is thus consistently formatted as per the log4j configuration.

The other log file contains the log4j output (with a few exceptions to reduce verbosity) *and* legacy output to System.out or System.err.

In 10.1 and higher these are unified into 1 log file with System.out and System.err output being routed to specific log4j loggers.

Top Tags