Logging fixed.