logging appenders and sling slf4j implimentation
hi, possible have smtp or jdbc logging appenders configured cq logging? i've done research on available osgi logging , there seems pax ops4f ( won't run smooth sling logging sitting in same environment , guess not advisable swap entire logging system completely) . approach implement provide similar functionality log4j appenders runtime configuration?
thanks
hi skovoroda,
currently sling's slf4j implementation supports writing files & not have option appenders looking. enhancement request placed @ https://issues.apache.org/jira/browse/sling-2024
the approach implement loglistener (per osgi spec http://www.osgi.org/javadoc/r2/org/osgi/service/log/package-summary.html)
* create class implementing loglistener
* register loglistener logging service available on server.
note:- messaged logged logservice sent loglisteners + slf4j.
thanks,
sham
More discussions in Archived Spaces
adobe
Comments
Post a Comment