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.mcgibb...@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-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org
--------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org