fixed DEBUG to be set when setting debug log level