REFACTORING: Logfile accounting as a module.
REFACTORING: Minor.