mina-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashish <paliwalash...@gmail.com>
Subject Re: logging to file with log4j
Date Tue, 30 Jun 2009 05:12:33 GMT
On Tue, Jun 30, 2009 at 6:45 AM, motum hesa<motums@gmail.com> 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 <elihusmails@gmail.com>:
>> Do the examples have log4j.properties files in them?
>>
>>
>> ------Original Message------
>> From: motum hesa
>> To: users@mina.apache.org
>> ReplyTo: users@mina.apache.org
>> 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

Mime
View raw message