Disabled all but error and fatal log statements in release mode.