Added debug log level setting