Why does Rehostuser Send All Logs To Stderr? (Doc ID 2193453.1)

Last updated on OCTOBER 27, 2016

Applies to:

Oracle Communications Messaging Server - Version 8.0.1 and later
Information in this document applies to any platform.

Symptoms

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?

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms