You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Sivaks <si...@verizonwireless.com> on 2011/07/27 23:28:56 UTC

log4j issue

Hi,

One of our old project has got lot of System.out.println statements. We
converted that to log4j logging.

Now we are seeing all logging statements are going to the file which i
mentioned in log4j.

The problem is that, still it is getting logged in SystemOut.log file too.

I am also attaching log4j.xml for reference. Any help appreciated

http://old.nabble.com/file/p32151973/log4j.xml log4j.xml 

Regards,
Siva
-- 
View this message in context: http://old.nabble.com/log4j-issue-tp32151973p32151973.html
Sent from the Log4j - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Re: log4j issue

Posted by Sivaks <si...@verizonwireless.com>.
Thanks james!!

I removed ConsAppender and it worked!!

Regards,
siva


James A. N. Stauffer wrote:
> 
> ConsAppender sends the logs to standad output.
> 
> James A. N. Stauffer        http://jamesjive.blogspot.com
> Are you good? Take the test at http://www.livingwaters.com/good/
> 
> 
> 
> On Wed, Jul 27, 2011 at 4:28 PM, Sivaks
> <si...@verizonwireless.com> wrote:
>>
>> Hi,
>>
>> One of our old project has got lot of System.out.println statements. We
>> converted that to log4j logging.
>>
>> Now we are seeing all logging statements are going to the file which i
>> mentioned in log4j.
>>
>> The problem is that, still it is getting logged in SystemOut.log file
>> too.
>>
>> I am also attaching log4j.xml for reference. Any help appreciated
>>
>> http://old.nabble.com/file/p32151973/log4j.xml log4j.xml
>>
>> Regards,
>> Siva
>> --
>> View this message in context:
>> http://old.nabble.com/log4j-issue-tp32151973p32151973.html
>> Sent from the Log4j - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
>> For additional commands, e-mail: log4j-user-help@logging.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/log4j-issue-tp32151973p32152240.html
Sent from the Log4j - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Re: log4j issue

Posted by "James A. N. Stauffer" <st...@gmail.com>.
ConsAppender sends the logs to standad output.

James A. N. Stauffer        http://jamesjive.blogspot.com
Are you good? Take the test at http://www.livingwaters.com/good/



On Wed, Jul 27, 2011 at 4:28 PM, Sivaks
<si...@verizonwireless.com> wrote:
>
> Hi,
>
> One of our old project has got lot of System.out.println statements. We
> converted that to log4j logging.
>
> Now we are seeing all logging statements are going to the file which i
> mentioned in log4j.
>
> The problem is that, still it is getting logged in SystemOut.log file too.
>
> I am also attaching log4j.xml for reference. Any help appreciated
>
> http://old.nabble.com/file/p32151973/log4j.xml log4j.xml
>
> Regards,
> Siva
> --
> View this message in context: http://old.nabble.com/log4j-issue-tp32151973p32151973.html
> Sent from the Log4j - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org