My Oracle Support Banner

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

Last updated on AUGUST 13, 2019

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?


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.