[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[LDM #UKU-190526]: LDM - PIPE usage in pqact.conf and bash scripts



Michael,

It's also a good idea to have your script log any errors it
encounters.  Because the script runs as a grandchild process
of the LDM daemon, it doesn't have a standard error stream.
Consequently, you have to explicitly work around this lack
by using something like the "logger" utility.  For example,

if false; then
    logger -p local0.error "The utility 'false' exited with status $?"
fi

The above will log the error to the LDM log file.

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: UKU-190526
Department: Support LDM
Priority: Normal
Status: Closed


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.