On Tue, Jun 30, 2009 at 6:45 AM, motum hesa<[email protected]> wrote:
> No, maybe I don't explain me very well, I want to put in a file the
> logs of my mina application, I have log4j.properies, I have lib4j
> libraries, the file is created, but it's empty, I use Netbeans, I
> understand that the log4j configuration is correct, the problem is
> that I don't know how redirect mina logs to a file. Thanks..

Have the slf4j-log4j binding jar (slf4j-log4j12-1.5.0.jar) in your
classpath and things shall be fine.
There is nothing else that you need to do.

Please choose the appropriate binding jar as per your log4j version.

>
> 2009/6/29 Mark Webb <[email protected]>:
>> Do the examples have log4j.properties files in them?
>>
>>
>> ------Original Message------
>> From: motum hesa
>> To: [email protected]
>> ReplyTo: [email protected]
>> Subject: logging to file with log4j
>> Sent: Jun 29, 2009 7:53 PM
>>
>> Hi, I want to an example or where found an example abuout how use
>> slf4j with log4j for put the logs into a file with apache mina...
>> Thanks for your help...
>>
>> Roberto Campos
>>
>>
>> Sent from my Verizon Wireless BlackBerry
>>
>



-- 
thanks
ashish

Blog: http://www.ashishpaliwal.com/blog
My Photo Galleries: http://www.pbase.com/ashishpaliwal

Reply via email to