Friday, September 16, 2011

How to read Logs from Browser in CQ

Use Case: Some time for whatever reason, You don't have an access to physical server thus can not read logs in real time.

Solution : Please follow steps below,

1) Download log reader war file from here
2) Go to http://<host>:<port>/admin
3) Add content as /logreader and upload war file you saved.
4) Once uploaded, You can go to http://<host>:<port>/logreader to read the log.

For CQ5.5 you can use system configuration to read on browser



For > CQ5.6 you can also go to HOST:PORT/system/console/status-slinglogs to view log files.



Caution:: Please don't keep this file in production (As it will consume resources). If your job is done remove it.


Thanks Sebastian Hoogenberk from Adobe for providing this information.

3 comments:

  1. Hi,

    Can U let me know how to upload this war file into CQ5.5

    ReplyDelete
    Replies
    1. Unfortunately you can only use this war file with CQ5.5 if CQ5.5 is deployed on any application server. But in CQ5.5 you can go to HOST:PORT/system/console/config and find out logs file. I am attaching screen shot in blog post.

      Delete

  2. Packers And Movers Bangalore Local Household Shifting Service, Get Free Best Price Quotes Local Packers and Movers in Bangalore List , Compare Charges, Save Money And Time.
    Packers And Movers in Bangalore

    ReplyDelete