Am Fr 16. Mär 2012, 03:21:09, MSCHILLI schrieb:
Show quoted text> > Currently I am flooded with Syslog messages whenever I LOGDIE LOGCROAK
> > LOGEXIT in a script, as all of them log on FATAL severity.
>
> Throwing LOGDIE and exiting an application because it makes no sense to
> keep it running is a pretty severe condition, though, which I would
> expect to be reflected in a FATAL message in syslog.
>
> I'm no expert in syslog levels, so help me out here: Isn't FATAL exactly
> the definition of an application unable to continue because of a severe
> condition?
I think FATAL is a reasonable default for LOGDIE, however to me the
severity of a die isn't always the same.
It makes a difference, whether I run a mission critical daemon (then it
should be FATAL) or just a bunch of interactive scripts.
To give my case a bit of context. I want to provision virtual machines,
which is interactive, but I also want it to be logged so logging data
can be used for monitoring.
I want to have a monitoring tool decide what is fatal.