Logging bug fixed.