testdriven / psi-probe

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

No logs except probe.log at logs page #395

Open padcom opened 9 years ago

padcom commented 9 years ago

From ondrej.t...@gmail.com on January 10, 2014 15:34:28

What steps will reproduce the problem? 1.Tomcat-7.0.47 2.tomcat-7.0.47-slf4j-1.7.5-logback-1.0.13.zip ( https://github.com/grgrzybek/tomcat-slf4j-logback ) What is the expected result? Log files from logback will be shown (tomcat and installed application) What happens instead? Only probe.log is shown. In probe.log is error shown. What version of Probe are you using? 2.3.3 What environment (browser version, Tomcat version, JVM version, server OS)? Any browser, 7.0.47, 1.7.0_25-b17, Windows 7 (Service Pack 1) Please provide any additional information below. (Attach logs or stack traces as files instead of pasting the contents here.)

Attachment: probe.log

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

padcom commented 9 years ago

From MALfunct...@gmail.com on January 13, 2014 15:40:02

I have never heard of this before. tomcat-juli-jcl-over-slf4j-to-logback? And you wonder why your logs don't show up. :P

But seriously, issue 248 had a similar issue with slf4j. PSI Probe is using Java reflection to inspect the logger instances, and when slf4j is masquerading as another logging framework, the reflection fails.

Anyway, I'm still trying to figure out what this package even does. First it moves the slf4j api so it's inside the org.apache.juli.logging package. Then it mashes up jcl-over-slf4j and tomcat-juli. Then it completely loses me.

Status: NeedInfo
Labels: HelpWanted

padcom commented 9 years ago

From ondrej.t...@gmail.com on January 14, 2014 03:00:20

Well, it isn't my product. I find and used it becose tomcat logging capatibility is terrible and this product allow using logback for all loging. As I know, it completly removes support for JUL from tomcat by replacing JULI -> JUL package with JULI -> SLF4J implementation and as option it provides access log valve for logback.

Becose there no JUL configuration after changes, psi-probe crashes on attempt load JUL config and don't continue to another logging systems.

jlc-over-slf4j itself is functional in psi-probe, if it is used in application.

padcom commented 9 years ago

From MALfunct...@gmail.com on January 28, 2014 07:17:57

I'll see what I can do.

Status: Accepted
Labels: -Milestone-TBD Milestone-2.4.0