You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Mike Hummel <mh...@mikehummel.de> on 2013/09/26 12:37:49 UTC

Some kind of 'JournalingResourceProvider'

Hi,

While adaptTo I found a lot of use cases to store reports, e.g. for jobs -
successful and not successful (to release the job itself in
/var/eventing/jobs), for health check. Would a JournalingResourceProvider
be helpful, e.g. located in /var/log to store logs like this.

What would be the requirements for that?

- adaptTo(Log.class) to get a logger, appending the journal
- adaptTo(LogRecordReader.class) to read the single log records
- properties: status (used / closed)
- what about the storage, maybe inside jcr to allow sharing with other
instances or an external db to separate logs from the server.

What do you think about that?

cu
Mike