I assume you're talking about a Web Application.  If so, check out
javax.servlet.ServletContextListener<http://download.oracle.com/javaee/6/api/javax/servlet/ServletContextListener.html>,
it's your best bet.
  (*Chris*)

On Fri, Oct 21, 2011 at 7:47 AM, BAKHTI Mohammed <[email protected]>wrote:

>  Hello,
>
> I have  actually an API which use logback and add some specific functions.
> this API initialize logback in code : joranConfigurator(myconfig.file)
>
> I dont have any logback.xml in my classpath.
>
> My question is how can i start this API (and then logback) at application
> startup before all the other frameworks and APIs (spring, hibernate,
> axis...)
>
> I mean the same way logback init itself with logback.xml at startup
>
> Thanks
>
> _______________________________________________
> Logback-user mailing list
> [email protected]
> http://mailman.qos.ch/mailman/listinfo/logback-user
>
_______________________________________________
Logback-user mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-user

Reply via email to