From 42744bc977224e29e804638b60f90f57db5b98d5 Mon Sep 17 00:00:00 2001 From: helge Date: Tue, 23 Nov 2004 20:20:08 +0000 Subject: [PATCH] fixed excessive logs in OGo due to new logging changes git-svn-id: http://svn.opengroupware.org/SOPE/trunk@408 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- sope-appserver/NGObjWeb/ChangeLog | 6 ++++++ sope-appserver/NGObjWeb/Version | 2 +- sope-appserver/NGObjWeb/WORequestHandler.m | 3 ++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/sope-appserver/NGObjWeb/ChangeLog b/sope-appserver/NGObjWeb/ChangeLog index 698097fd..b8033ed8 100644 --- a/sope-appserver/NGObjWeb/ChangeLog +++ b/sope-appserver/NGObjWeb/ChangeLog @@ -1,3 +1,9 @@ +2004-11-23 Helge Hess + + * WORequestHandler.m: properly check whether logger is available + prior running debugWithFormat: to avoid excessive logging in OGo + (v4.5.99) + 2004-11-23 Helge Hess * WOComponent.m: reapplied change in v4.2.423 which got lost in some diff --git a/sope-appserver/NGObjWeb/Version b/sope-appserver/NGObjWeb/Version index 34a3673c..a507aa0d 100644 --- a/sope-appserver/NGObjWeb/Version +++ b/sope-appserver/NGObjWeb/Version @@ -1,6 +1,6 @@ # version file -SUBMINOR_VERSION:=98 +SUBMINOR_VERSION:=99 # v4.5.91 requires libNGExtensions v4.5.134 # v4.5.84 requires libNGExtensions v4.5.127 diff --git a/sope-appserver/NGObjWeb/WORequestHandler.m b/sope-appserver/NGObjWeb/WORequestHandler.m index e4d2caa9..2b310bbe 100644 --- a/sope-appserver/NGObjWeb/WORequestHandler.m +++ b/sope-appserver/NGObjWeb/WORequestHandler.m @@ -248,7 +248,8 @@ static NGLogger *perfLogger = nil; if (session != nil) { if ([session storesIDsInCookies]) { - [self debugWithFormat:@"add cookie to session: %@", session]; + if (logger != nil) /* Note: required! do not remove */ + [self debugWithFormat:@"add cookie to session: %@", session]; [self addCookiesForSession:session toResponse:response inContext:context]; -- 2.39.5