adding disable of log for release mode