For debugging I would like to get DEBUG level log messages of a certain log category in the log files of Xpert.ivy Server. How can I configure this? asked 06.06.2014 at 13:51 Reto Weiss ♦♦ |
The log configuration can be changed in the file To configure the log level of a certain category add the following xml to the log4jconfig.xml:
Change The log category now logs messages with DEBUG level. But they will not yet be written to the log file because the FileLog appender has normally a threshold set to INFO level. All message with a log level below the threshold are not written to the log file. Therefore you have to change the threshold in the FileLog appender configuration from INFO to DEBUG in the log4jcongig.xml file as follows:
answered 06.06.2014 at 14:04 Reto Weiss ♦♦ |
I would just point out that elements such as category and priority are considered deprecated and must be replaced by logger and level respectively. As indicated by org.apache.log4j.Category:
Notice that in the ServerGuide.pdf document, deprecated terminology is used and must be updated. answered 28.11.2014 at 16:33 A1234 |
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 06.06.2014 at 13:51
Seen: 7,254 times
Last updated: 28.11.2014 at 16:33