fix for loggers with no sql result