Lp
1933984: Expand Clark Kent's Use of the Logger
When the reporter is run in daemon mode, its messages appear on the
terminal where it is started. They are, therefore, lost when Clark is
started in daemon mode and the user logs out.
This commit modifies the reporter to send the majority of its messages
to the OpenSRF logger utility so that these messages end up in the
Evergreen logs and do not get sent to the terminal. Messages related
to a failure to start the reporter are still sent to the console in
the assumption that it is being started on the command line.
There is a companion commit in OpenSRF to improve the daemonize
function used by clark-kent.pl. That commit basically requires this
one be applied as well. Messages from the reporter will disappear
once the OpenSRF commit is applied until this one is also applied to
Evergreen.
Signed-off-by: Jason Stephenson <jason@sigio.com>