Why does Rehostuser Send All Logs To Stderr?
Last updated on JANUARY 31, 2018
Applies to:Oracle Communications Messaging Server - Version 8.0.1 and later
Information in this document applies to any platform.
1. If we have a script to run bulk moves using rehostuser as:
/opt/sun/comms/messaging64/sbin/rehostuser -u $i -d $FQDN_DEST -e -x -n |tee -a $LOGFILE
Note that it pipes stdout to tee -a to append to the log file. The script does NOT also redirect stderr.
If we change it to redirect stderr, then we get a lot of informational logs too for each email message, which is way too much noise.
2. Also, the imsrestore sends per-message logs. Why is it so?
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms