Start a conversation

How to configure log level

Product: Quark Publishing Platform (QPP)

Solution: If extended or specific logs are required, in that case we can change the logging levels for QPP Web Client and QPP Server. Below are the available options and their usability.
  • ERROR = includes messages that indicate disrupted and failed requests.
  • INFO = includes messages that indicate the state of services.
  • WARN = includes non-critical service error messages.
  • DEBUG = includes messages that indicate server resource usage.
  • SQL_TRACE = includes messages according to activity related to SQL requests.
  • TRACE = includes messages according to activity related to requests.
Steps to change the logging level as required:
  • Open the "log4j.xml" file in the {QPP Server}/conf folder.
  • To define the logging level for QPP Web Client activity, scroll to <logger name=com.quark.qpp.web.webeditor. The structure is as follows:
<logger name="com.quark.qpp.web.webeditor" additivity="false"> <level value="INFO" /> <appender-ref ref="WebHubAsyncAppender" /> </logger>
  • To define the logging level for QPP Server activity, scroll to <logger name=com.quark.qpp. The structure is as follows:
<logger name="com.quark.qpp"> <level value="INFO" /> </logger>
  • To define the logging level for other activity, scroll to the "<root>." The structure is as follows:
<root> <priority value="ERROR" /> <appender-ref ref="QppServerAsyncAppender" /> </root>
  • Save and close "log4j.xml."
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted
  3. Updated

Comments