From 88d682d8c982428e0b2a6b2c9d3014af796109ba 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 --- 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);