Hash: SHA1

First, thanks for posting back your responses so quickly and completely.
A few other pieces of information may help you depending on if you
already have them or not.

First, Bug# 768156 exists as an enhancement request for this issue.
Feel free to see if I captured the business case fully and update it

Second, the ability to manipulate files that are being read differing
across platforms is a common pain; in windows, for example, you cannot
even open the Sentinel log files with wordpad without first copying them
to an unused file which is a pain for troubleshooting. On Linux you can
definitely get into the file, but as you noticed the file write takes
place to something at a lower level than the file name (the inode, or
equivalent, I believe) so when you move the file the inode remains the
same and the file write continues to the old file until something
signals the process to refresh itself. The logrotate option that David
mentioned usually works really well for these types of situations and
I've used it in the past successfully.

My personal opinion is that this is the best route to take (vs. calling
a command with every action) as long as you are not stuck on windows
where logrotate does not exist. The reason for my opinion is based on a
preference for simplicity (few things are as simple as writing to a
file), as well as what I believe will be decreased overhead (calling a
process a dozen times per second will cause significantly more work than
writing twelve lines to an already-open file). Also since logrotate is
pretty simple and has worked for me in the past, I feel comfortable with
that solution, which may differ from one person to another the first
time around.

Good luck.
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

Zt2V0dNN2K6fmKpCmHNN2jfVRb2olQpZ7I96bv7mjK7L8SgUbE nPse0e1zmyBa1b
ruMUoXWutexdEhvV6XxeuUDUgmTmBgmavbb+dDrJDeNjxhKmGX v35pdP6hpqepj1
l9NqVscpw3EsFnjwlEVy5faPGimwVCQRydEFwdGH2QmytZ92UJ wobGY3QtksfbAs
3IxrmfR9rvx02h9B3rg8cVaHgmz8UFEeuro0ylTJl1bzBC+GO5 9cJKC+c4zNXucO
kBRolQEGsLU+oB7rdOdNoUHz3hqgigTXOuYqPwiDuMh5XuTOb3 8ji9clFWEwL6Yi
Y92aj+kJPUwafhQmfU1sT356P8DEYvoq7ou+vnb1p2WFXkHR6A DfFst8r2TBMUhm
gNaJ3RczvEtjW89ZhyHJyq1g0iE28hKS45QEyC5Hy9db01isvQ 7SiptyHdDTJCSb