Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
how does the debug work in custom component
cc96ai
in my java component
I have the following debug statement, how could I turn on the debug, where the log file?
if (logger.isDebugEnabled()) {
logger.debug("debug on");
}
Thanks.
Find more posts tagged with
Comments
AlexC
You need to add the logger member object (look at the existing components most have a protected member called mLogger or LOGGER which you can copy into your class and update the class used increation to your custom one). Now you can write to this log and the result will go into servletd_out.log or livesite.preview.log which are both located in (if I remember correctly) Interwoven/TeamSite/local/log/iwui/ (you can search for servletd_out.log if I mistyped the path).