java - JSF Page Request Logging in Production using Phase Listener -
i developing web application , need log page requestes client. that, implemented phaselistener this link.
in tutorial, in final comments section end of page suggests that;
"using phase listener can worthwhile tool during development gives ready feedback going on within innards of jsf.
remember turn diagnostic tool off in production!"
i don't understand why need turn off phase listener in production. would tell me advantages , disadvantages of using phaselistener in production ?
regards.
that sentence poorly phrased. it's not talking phase listeners in general, specific phase listener being discussed in tutorial, merely printing processed phases of jsf life cycle (that article borrowed idea my article published more 2 years therebefore). in production, cause irrelevant clutter in server log file nobody looking @ , make finding real relevant log entries harder.
on other hand, if sole functional requirement "page request logging" (and not "jsf phase logging"), can more efficiently done simple servlet filter.
Comments
Post a Comment