From 2577a8a67bdeaf772e01b864fac23b9c60a6fc11 Mon Sep 17 00:00:00 2001 From: kervala Date: Sun, 3 Oct 2010 18:26:35 +0200 Subject: [PATCH] Changed: Deactivate logs in console only in Release mode --- code/ryzom/client/src/client.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/ryzom/client/src/client.cpp b/code/ryzom/client/src/client.cpp index 7967c24db..1c31a2e7b 100644 --- a/code/ryzom/client/src/client.cpp +++ b/code/ryzom/client/src/client.cpp @@ -351,10 +351,12 @@ int main(int argc, char **argv) CApplicationContext *appContext = new CApplicationContext; createDebug(); + +#ifndef NL_DEBUG INelContext::getInstance().getDebugLog()->removeDisplayer("DEFAULT_SD"); INelContext::getInstance().getInfoLog()->removeDisplayer("DEFAULT_SD"); INelContext::getInstance().getWarningLog()->removeDisplayer("DEFAULT_SD"); - +#endif // NL_DEBUG // if client_default.cfg is not in current directory, use application default directory if (!CFile::isExists("client_default.cfg"))