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


Groups > comp.lang.java.programmer > #18736 > unrolled thread

Re: log4j & crontab

Started bydaniellauzon2002@gmail.com
First post2012-09-13 06:47 -0700
Last post2012-09-13 19:56 +0200
Articles 2 — 2 participants

Back to article view | Back to comp.lang.java.programmer

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

#18736 — Re: log4j & crontab

Fromdaniellauzon2002@gmail.com
Date2012-09-13 06:47 -0700
SubjectRe: log4j & crontab
Message-ID<f6c3d2d8-0f49-4e18-a236-6cd7849dae02@googlegroups.com>
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.

[toc] | [next] | [standalone]


#18740

FromLars Enderin <lars.enderin@telia.com>
Date2012-09-13 19:56 +0200
Message-ID<50521E56.1090200@telia.com>
In reply to#18736
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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web