Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #28013

Re: log4j & crontab

Newsgroups comp.lang.java.programmer
Date 2014-04-09 19:48 -0700
References <cnfig8$h1p$1@garrison.globalnet.hr> <f6c3d2d8-0f49-4e18-a236-6cd7849dae02@googlegroups.com>
Message-ID <9775f7ef-8889-40d4-a593-5e600b181b3a@googlegroups.com> (permalink)
Subject Re: log4j & crontab
From shyalika@gmail.com

Show all headers | View raw


On Thursday, September 13, 2012 11:47:04 PM UTC+10, daniella...@gmail.com wrote:
> Le mercredi 17 novembre 2004 08:03:19 UTC-5, Vuk a écrit :
> 
> > when i implement crontab in my application his log4jjcrontab.properties overrides my log4j.properties
> 
> 
> 
> Not sure if we have the same problem but my app logs nicely when I launch it myself from the command line but fails to log when I let crontab launch it.

I have the same problem when executing a jar file via cron job. It does not log the app logs implemented with log4j. Does anyone know the answer to why?

Back to comp.lang.java.programmer | Previous | Next | Find similar | Unroll thread


Thread

Re: log4j & crontab shyalika@gmail.com - 2014-04-09 19:48 -0700

csiph-web