make the log level to diagnostics

Signed-off-by: Floyd Pink <imbleedingme@googlemail.com>