debug flag for logger

default release: standard
default debug: debug