LiveCycle ES4 – Routing Log Messages

While working with any application server, changing the log level on the fly is always a hectic task. But CQ embedded in Adobe LiveCycle ES4 offers a feature that simplifies adding new loggers or changing the log level for any component of LiveCycle ES4.

Following are the steps to change the log level in Adobe LiveCycle ES4

  1. Login to Felix web console using “http://host-name:port/lc/system/console/configMgr”. Change the host-name and port with your app server host name and port number.
  2. Now search and click on “Adobe LiveCycle Embedded Mode Configuration”, check in the check box named as “Route log message” and click save button. This will enable the routing of log message through Sling Logging layer.Embedded_Mode_Configuration
  3. Now Search “Apache Sling Logging Logger Configuration” and click on “+” button on right hand side of this tab. Apache_Sling_Logging_Logger_Configuration
  4. A new window will pop up. Provide required information in this window –
    • Log Level – To specify the log level you want for that particular component.
    • Log File – Specify the path for the log file in this field.

    • Message Pattern – Specify the log pattern in this field.
    • Logger – Specify the package of the component for which you want to change the log level. e.g. to add the logger for authentication manager give logger name as com.adobe.idp.um

    Configuration_window
    To add logs of more than one component in the same file, simply click the “+” button at end of logger field and provide the package name of the component for which you have to add the logs in the new logger field.

  5. After filling all the required fields click save. Now all the logs for the particular component, meeting the log level, will be added in the log file mentioned in the above steps.
VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 8.8/10 (5 votes cast)
LiveCycle ES4 - Routing Log Messages, 8.8 out of 10 based on 5 ratings

About Pulkit Agarwal

Pulkit Agarwal is a Software Engineer at Adobe Systems. He is working for Adobe LiveCycle Enterprise Suite. He looks after LiveCycle Foundation testing. He is based out of Noida, India.
This entry was posted in Adobe LiveCycle ES3. Bookmark the permalink.

One Response to LiveCycle ES4 – Routing Log Messages

  1. This is very interesting, You are a very skilled blogger. I have joined your rss feed and look forward to seeking more of your magnificent post. Also, I’ve shared your website in my social networks!