Port improved multi-file logging framework from h2o1.
Fix 24 hr time bug.