]> oss.titaniummirror.com Git - ovzbpc.git/commit
bpcdump: capture all log output
authorR. Steve McKown <rsmckown@gmail.com>
Fri, 18 Jan 2013 01:18:01 +0000 (18:18 -0700)
committerR. Steve McKown <rsmckown@gmail.com>
Fri, 18 Jan 2013 01:18:01 +0000 (18:18 -0700)
commit06e2c63de5e45e98a2196c4213eebbea4fe9e91f
tree1c7eaed3649c7feade1fb8fb5503330e4b4bd77c
parentdce45a5fea97ac6a101c85c2f9a4ca0f4cb4d0dd
bpcdump: capture all log output

When bpcdump starts, use a temporary file in /tmp to capture log output
from the info() and error() functions.  Then, which the correct home for
the info file is created, move the temporary file to that name and
continue along.

Prior to this commit, all of the output from info() and error() prior to
INFO being redefined were not also captured into the info file.
bpcdump