Wednesday, 2 May 2012

Logging Activates, Deactivates and Deletes

To keep a log of who has activated or deactivated a page, add this to your logging :-

Log Level: Debug

Logger: com.day.cq.replication.impl.queue.ReplicationJob

You will then get entries like this in your log file :-

01.05.2012 13:58:07.460 *DEBUG* [123.12.34.56 [0005877072284] POST /bin/replicate.json HTTP/1.1] com.day.cq.replication.impl.queue.ReplicationJob Creating replication job null (action: ReplicationAction{type=ACTIVATE, path[0]='/content/mysite/en/blah/blah', time=1335877072325, userId='martin', revision='null'}) with content ReplicationContentFacade{path='/var/replication/data/g4e8029a-deec-87c7-8176-6d4eadd8fda5/84/84a8bf03-a58a-482d-8186-a7d2819ca365', contentType='application/cq5-replication-durbo', contentLength=9492}

6 comments:

  1. Have you read the love without love poem? It is my favorite poem. It is about relationsips between two lovers. It is worth reading.

    ReplyDelete
  2. Do you know a better service than papers-land.com to which you can send the request "write my discussion post" and in a result receive excellent work? Personally, I don't. Papers-Land.com with its writers is the professional platform that can cope with any type of academic home papers and discussion board post that is the most usual assignment among educators now is quite simple for the writers. I think this service will be useful for you too because writers can improve even blog posts of beginner bloggers.

    ReplyDelete
  3. Leave us a request to take my class cheap and get Take My Class For Me in return some outstanding help from our academic supporters that too at very reasonable rates.

    ReplyDelete
  4. Activates, deactivates and deletes the listed activity log. Entering data into the activity log helps you establish a daily routine in order to reach your goal. Nursing essay writing is the great help for students complete the essays and the write unique content lasted completed my assignment and the great write that's a reason for sharing this information.

    ReplyDelete
  5. Logging activities like activating, deactivating, and deleting accounts are essential for managing any online service. When students sign up for an MBA assignment writing help platform, keeping track of these actions ensures smooth and secure use of the service. Whether it’s activating an account to get started, deactivating it when no longer needed, or deleting it for privacy, each step is important in managing user experience.

    ReplyDelete
  6. I just checked out the Mushq Winter Collection from Alkarim, and I’m absolutely in love! The designs are so stylish and perfect for the season. The quality of the fabric is amazing, and everything feels so cozy yet elegant. I love how versatile the pieces are, whether for casual wear or a special occasion.

    ReplyDelete