Patch from Scott McKellar, finishing off the "log to stderr when all esle fails"...
authormiker <miker@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 26 Jun 2007 03:04:37 +0000 (03:04 +0000)
committermiker <miker@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 26 Jun 2007 03:04:37 +0000 (03:04 +0000)
commit229fadfb7911191f84ed79256d6feec40048cff2
tree00e55fdcb5f908986bfd06febc15ce1d2d6a1423
parentee3d4fe7c54c082dc16f92283b91d69187bb809e
Patch from Scott McKellar, finishing off the "log to stderr when all esle fails" work:

Currently if we have asked to log to a file, but we haven't yet
specified the name of that log file, then any messages issued are
dropped.

With this patch, any messages issued under these conditions will be
rerouted to standard error.  The rerouting is only temporary,
applying only to the current message.

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@977 9efc2488-bf62-4759-914b-345cdb29e865
src/libopensrf/log.c