Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to turn on log4j debug information?

debug log4j turn
0
Posted

How to turn on log4j debug information?

0

When running tests with cbesb_run, debug logging can be enabled by using the -debug option. That is, cbesb_run -debug my_project In server mode, the log4j configuration is read from CBESB_HOME/apache-servicemix/conf/log4j.xml. This directory contains some alternate copies of the log4j configuration file. debug_log4j.xml contains the setings for full debug and normal_log4j.xml contains the non-debug settings (this is same as log4j.xml initially). You can copy one of these alternate files over top of log4j.xml to change the logging behavior. The Servicemix server must ge stopped and restarted to make the change take effect. The full debug logging is quite intense so you may wish to edit the file yourself to enable certain portions. See log4j documentation for details.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.