[logback-dev] Logback config access and fallback

Ravi Kumar myst3rious at gmail.com
Fri Sep 14 17:22:22 CEST 2012


Hi, I am new to Logback, and actually I am a Core Python Dev. I want
to implement mongodb logging in logback, and all existing solutions
(even one included in logback extra) does not handle connection
problem gracefully.
There for implementing such features, I am trying to find -

1. How the config that is defined in logback.xml (or logback-test) is
accessed in my appender.
2. Will I be able to define my own configs or do i have to stick to
given configs.
3. When connecting mongodb or inserting, sometimes when server is
down, I need to handle it. In case of such failure, I want to store
that log in another file or maybe if possible I would like to redirect
the message/Log to another appender. How can I do it?

I would really appreciate if I get some pointers or help. I tried to
search google for these these queries, but couldn't find something
easy to understand. :(

Thanks,
Ravi


More information about the logback-dev mailing list