fix :debug logging messages not printed