logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacob Kjome" <h...@visi.com>
Subject Re: Pushing STDOUT to File...
Date Mon, 01 Oct 2012 20:26:41 GMT

You don't appear to reference your "DRFA" appender in any logger.  You 
specifically reference the "console" appender in the rootLogger.  Why do you 
think that your logging should go to file when you specifically have it 
configure to go to Console?

Jake

On Mon, 1 Oct 2012 18:17:35 +0100
 Lewis John Mcgibbney <lewis.mcgibbney@gmail.com> wrote:
> Good Afternoon,
> 
> I currently am working on the following log4j.properties file [0] as I
> use many classes from the terminal and I would like to be able to
> store the logs (redirect?) them to a file.
> 
> Currently this is just not happening for me even though (AFAIK) I've
> specified the DRFA and various other configuration. Still when I use
> my classes from the terminal no log directory appears and no gora.log
> appears within the log directory... this is what I would like.
> 
> I can't seem to sort this one out...any help would be greatly appreciated.
> 
> Kind Regards
> 
> Lewis
> 
> [0] http://svn.apache.org/repos/asf/gora/trunk/conf/log4j.properties
> -- 
> Lewis
> 
> ---------------------------------------------------------------------
> 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


Mime
View raw message