FIXED: bugs in LogMonitor