From e8b0ae3f81cb31bacd302f6f1bd3e331566350d3 Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 9 Nov 2015 12:46:02 +0100 Subject: [PATCH] Changed: Don't log nldebug in Release --HG-- branch : develop --- code/ryzom/client/src/client.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/ryzom/client/src/client.cpp b/code/ryzom/client/src/client.cpp index 1ec2b0643..be7cf1647 100644 --- a/code/ryzom/client/src/client.cpp +++ b/code/ryzom/client/src/client.cpp @@ -366,6 +366,11 @@ int main(int argc, char **argv) // init the Nel context CApplicationContext *appContext = new CApplicationContext; + // disable nldebug messages in logs in Release +#ifdef NL_RELEASE + DisableNLDebug = true; +#endif + createDebug(); INelContext::getInstance().setWindowedApplication(true);