chkal/pf-issue-test — Issue #40: Logging problem when loading config in non-Production stage
Author: chkal
Created: 2012-03-06 07:22:07+00:00
State: open

Originally filed by **tob...@gmail.com** on 2010-05-02T21:05:19

Google Code issue: http://code.google.com/p/prettyfaces/issues/detail?id=39

The problem is related to the reload feature when the project stage is not
Production. It is fine that PrettyFaces load the config file every time it
does a filtering, the problem is that it spams the log file making it hard
to actually find relevant information. At this point over 70% of my log
file is "INFO: Reading config [/WEB-INF/pretty-config.xml]."

What steps will reproduce the problem?
1.Run a webapp with PrettyFaces filter targeting "/*"
2.Have logging level set to INFO
3.Look at your log output

What is the expected output? What do you see instead?
It would be nice to only be notified of the reload some times or maybe
mark it "TRACE" instead of "INFO".

What version of PrettyFaces are you using? On what server and version,
version of JSF, and other relevant technologies?
PrettyFaces 2.0.4, Jetty 7, MyFaces 2.0