Logging for generator