logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Erskine <mse...@googlemail.com>
Subject Re: Unable to disable ConsoleAppender in Log4j - Plz Help
Date Thu, 25 Feb 2010 16:30:27 GMT
>From the looks of it I suspect you're made a call to
BasicConfigurator.configure()

Regards,
Michael Erskine.

On 25 February 2010 16:26, ragz_82 <k.raghavendra.rao@oracle.com> wrote:
>
> I am writing logs for my application using Log4j and I need to use only
> FileAppender. Right since the beginning, the ConsoleAppender seems to be
> turned on and the logging to Console never stops.
>
> Also each line written to the console is prefixed with unwanted data. I am
> unable to turn this off. Surprisingly this data is NOT written to the file.
>
> #######################################
> (Sample Line from console)
> 1526905 [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default
> (self-tuning)'] DEBUG norkomreports.main.MantasQuery_param [Line 684] -
> getFieldOperatorsMapping:: iRecordCount: 24
> #######################################

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


Mime
View raw message