First part of recyclng log files.  Have archiving move them aside and reset them. #1373

Not yet ready to merge.  Did a bunch of refactoring of log code along the way.