Is the scenario Valid-: As per the recommendation by MVC the jsp should never have scriplets. But if there is a necessity yes we can have logged in jsp and can see them as well wondering how? Click on the screenshot below
As highlighted, add a new logger configuration and mention the logging level, file name and pattern. The most important thing is jsp files in cq5 reside in package org.apache.jsp. Once this is mentioned you start seeing the logs in the file name you mentioned.
No comments:
Post a Comment
If you have any doubts or questions, please let us know.