Hi,

On 25.07.2010 12:04, Jacopo Franzoi wrote:
> Hi all,
> I'm wondering which could be the easiest way to support custom logging
> in Sling, I mean something like JMS / SMTP / JDBC appenders in log4j.
> 
> Sling currently redirects log4j logs to SLF4J (configured in the Felix
> web console), and that's ok, but I'm thinking about supporting custom

Currently, we have the setup that Log4J and Apache Commons Logging are
implemented in terms of SLF4J. SLF4J in turn is implemented by our own
grass-roots implementation, which currently only supports files and the
console (stdout).

There have been discussions of abandoning our SLF4J implementation again
in favor of another SLF4J implementation, most notably Logback.

> logging, such as notifying errors to an external service, not just
> plain text log files.
> 
> Is there already anything working in Sling, regarding this scenario?

Not to my knowledge, but patches to replace our implementation while
maintaining (at least) the same level of configurability are highly welcome.

Regards
Felix

Reply via email to