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


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

Re: log4j & crontab

Path csiph.com!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail
From Lars Enderin <lars.enderin@telia.com>
Newsgroups comp.lang.java.programmer
Subject Re: log4j & crontab
Date Thu, 13 Sep 2012 19:56:38 +0200
Organization albasani.net
Lines 12
Message-ID <50521E56.1090200@telia.com> (permalink)
References <cnfig8$h1p$1@garrison.globalnet.hr> <f6c3d2d8-0f49-4e18-a236-6cd7849dae02@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 8bit
X-Trace news.albasani.net O6m+Hk6f6mh0k4X7eGhho7V4YnbTJqHDMsV5b2IdW0pCAkRs5TjibUj7ZQcUN2rJfoGto2Ep59m1neV77Ha272QpsPPAfClkIskXd7XHvHOi5WjTc8pHGsUcN34u1GrL
NNTP-Posting-Date Thu, 13 Sep 2012 17:56:44 +0000 (UTC)
Injection-Info news.albasani.net; logging-data="8Ik5T22XsZH122i+PdWb6lKjAgYjyPrmDvb7JzwFIwkc4wL0+IHUgLlT3EP6YNtFd5eG6/3eRf2XXBECAHbSOzCLc7h+IkGaJx3PRbqYr5SmXXxD5R+ONgJDjoANoNg7"; mail-complaints-to="abuse@albasani.net"
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120827 Thunderbird/15.0
In-Reply-To <f6c3d2d8-0f49-4e18-a236-6cd7849dae02@googlegroups.com>
Cancel-Lock sha1:gLuqTGlJ9KhO0as88xflYfz5kSw=
Xref csiph.com comp.lang.java.programmer:18740

Show key headers only | View raw


2012-09-13 15:47, daniellauzon2002@gmail.com skrev:
> 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.
> 
In a crontab script you have to spell out the full path to executables,
or explicitly set the value of PATH to a suitable value similar to your
own PATH when logged in.

-- 
Lars Enderin

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


Thread

Re: log4j & crontab daniellauzon2002@gmail.com - 2012-09-13 06:47 -0700
  Re: log4j & crontab Lars Enderin <lars.enderin@telia.com> - 2012-09-13 19:56 +0200

csiph-web