This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
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