LogFactory include fix.
detail::openFile{Read,Write}Only() implementation.

LogFactory refactoring.