<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Hi Ceki, <br><br>That's exactelly what it says : <br><br>my architecture is like this : <br><br>Tomcat container ------> axis2 war container ---> My service .AAR .<br><br>The logback jars are in my .AAR <br><br>Thanks for help <br><br><div>> Date: Thu, 25 Aug 2011 15:45:17 +0200<br>> From: ceki@qos.ch<br>> To: logback-user@qos.ch<br>> Subject: Re: [logback-user] org.slf4j.helpers.NOPLogger cannot be cast to ch.qos.logback.classic.Logger<br>> <br>> Hello Mohammed,<br>> <br>> What does SLF4J print on the console. Does it mention defaulting to the <br>> nop-implementation?<br>> <br>> On 25/08/2011 3:21 PM, BAKHTI Mohammed wrote:<br>> ><br>> > Hello,<br>> ><br>> > I got a problem when trying to deploy an application into Tomcat<br>> ><br>> > i got this exception : org.slf4j.helpers.NOPLogger cannot be cast to<br>> > ch.qos.logback.classic.Logger<br>> ><br>> ><br>> > and the line in my code is : ch.qos.logback.classic.Logger<br>> > applicationLogger = (Logger)<br>> > org.slf4j.LoggerFactory.getLogger("my.logger.name");<br>> ><br>> > any idea ?<br>> ><br>> > Thanks<br>> -- <br>> QOS.ch, main sponsor of cal10n, logback and slf4j open source projects, <br>> is looking to hire talented software developers. For further details, <br>> see http://logback.qos.ch/job.html<br>> _______________________________________________<br>> Logback-user mailing list<br>> Logback-user@qos.ch<br>> http://qos.ch/mailman/listinfo/logback-user<br></div> </div></body>
</html>