eStudio debugging question

We have some POJOs for doing some back-end processing while pages are built.

...xmlns:getdata="java:com.ntrs.livesite.xsl_utils.GetData"...

Within eStudio...

I would like (need) to do some debugging of the Java class GetData but for the life of me I can't find a few things:
1) if it blows up - what is the log files (path & name) where the trace, hopefully, is dumped?
2) If I use Log4J logging, where do those messages go?
3) where is the log4j setup file that I can tweak to change the logging level?

Comments

  • I found the errors, and I assume the log4j comments too, they end up in ...\ApplicationContainer\standalone\log\server.log
    Any guess where the log4j config lives? I assume after updating log4j.xml a restart of jBoss will be required.

  • You can define it in /local/config/lib/content_center/livesite_customer_src/etc/classes/log4j.xml
    Run build from livesite_customer_src

  • Thank you - I currently do not have a log4j.xml in that folder. Is there a specific one I should copy there to update?

  • I copied it from ApplicationContainer/standalone/deployments/iw-cc.war/WEB-INF/classes/log4j.xml and added our changes.

TeamSite Developer Resources

  • Docker Automation

  • LiveSite Content Services (LSCS) REST API

  • Single Page Application (SPA) Modules

  • TeamSite Add-ons

If you are interested in gaining full access to the content, you can register for a My Support account here.
image
OpenText CE Products
TeamSite
APIs