testdriven / psi-probe

Advanced manager and monitor for Apache Tomcat, forked from Lambda Probe
8 stars 1 forks source link

Log4J log not displayed in Logs tab when log uses org.apache.log4j.AsyncAppender #381

Open padcom opened 9 years ago

padcom commented 9 years ago

From aari...@gmail.com on November 21, 2013 21:23:07

What steps will reproduce the problem? 1. In your web app, configure a Log4J log to use org.apache.log4j.AsyncAppender

  1. Deploy probe and your web app in the same Tomcat server
  2. Log into Probe, go to the Logs tab and look for the log configured in step 1 What is the expected result? The log configured in step 1 should appear in the list of logs. What happens instead? The log configured in step 1 doesn't appear in the list of logs, even when clicking on show all logs. What version of Probe are you using? What environment (browser version, Tomcat version, JVM version, server OS)? Browser: Chrome 31 Tomcat: 7.0.42 JVM: 1.7.0 Server OS: Centos 5 Please provide any additional information below. (Attach logs or stack traces as files instead of pasting the contents here.)

Original issue: http://code.google.com/p/psi-probe/issues/detail?id=381

padcom commented 9 years ago

From aari...@gmail.com on November 21, 2013 12:23:47

Forgot to add: Probe version 2.3.3

padcom commented 9 years ago

From MALfunct...@gmail.com on December 12, 2013 08:45:39

Bear in mind that PSI Probe can only display logs that are written to local files. I can change it so it will iterate the AsyncAppender's children to see if any of the child appenders write to local files. However, if none of them do, the log will still not show up.

Status: Accepted
Labels: Component-Logging