make debug a log mask