Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Nothing gets printed on using logger.debug
k4kumawat
Hi
My question is when I use System.out.println("The document is : " + doc.asXML()); , I get the result printed in server.log File but when I use LOGGER.debug("The document is : " + doc.asXML()); Then I find that nothing is printed in server.log. What should be the problem?
Is there any other file where I can see the logs printed on using Logger
Thanks
Find more posts tagged with
Comments
Garth McMillan
You need to set up log4j to log your own classes.
You can search in these forums for custom log4j logging for more information on how to do it.
Rick Poulin
[Assuming customer_src mods] Look for etc/conf/customer/log4j.xml and apply a ruleset for your packages in there. Or you can temporarily enable debug logging (until the next JBoss reboot) via
http://yourserver/iw-cc/command/iw.base.loggers
The approach is similar if we're talking about livesite mods.
k4kumawat
Thanks to both of you..
But now I got stuck at 1 more place . After I configured log4j.xml inside "Interwoven/TeamSite/local/config/lib/content_center/livesite_customer_src/etc/classes" and ran a build command. now when i preview my any of the page I get to see that there is a large dotted rectangle around each component.
Rick Poulin
I hope you realize that your log config change has nothing to do with the CSS for your page edit view. Your build must've either contained another change that just got activated, or you undid a change that somebody made directly in the AppContainer folder structure.