]> err.no Git - sope/commitdiff
enhanced console logging
authorznek <znek@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Tue, 2 May 2006 03:06:26 +0000 (03:06 +0000)
committerznek <znek@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Tue, 2 May 2006 03:06:26 +0000 (03:06 +0000)
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1259 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

sopex/SOPEX/CHANGES
sopex/SOPEX/ChangeLog
sopex/SOPEX/SOPEX.xcodeproj/project.pbxproj
sopex/SOPEX/SOPEXAppController.m
sopex/SOPEX/Version

index 8e828059f83a810e42b77947c5c7405b15dac877..70f4929bba0ba4fdf39794d63ac335eeab4ef1a1 100644 (file)
@@ -10,7 +10,7 @@ responsible for running NGObjWeb's WORunLoop.
 
 Because of this, SNS has been removed from SOPE:X. Also, the SOPEXConsole has
 been rewritten from using pipes to utilizing a new SOPEXConsoleAppender (and
-related formatter). This is limited to NGLogging, however. NGLog() won't
+related formatter). This is limited to NGLogging, however. NSLog() won't
 work in this context - however NGLogging is supposed to be the new standard
 and is supported throughout SOPE.
 
index 9824be35180a0208d5c9311f8c7212264bb1e762..2d7e94cee81cfc6ab0fe5ba3ed8a5a86c4394551 100644 (file)
@@ -1,6 +1,11 @@
+2006-05-02  Marcus Mueller  <znek@mulle-kybernetik.com>
+
+       * SOPEXAppController.m: added config for WOHttpTransactionLogger -
+         transactions now properly do appear in the console window (v2.0.9)
+
 2006-01-27  Marcus Mueller  <znek@mulle-kybernetik.com>
 
-       * v2.0.4
+       * v2.0.8
 
        * SOPEXBrowserController.m: added UI delegate methods for creating
          new browser windows. It's possible now to have multiple targets
index d8fc4da3b813e803c3597c83bb3b930d7c4ed05f..4e0f2c2c099410c61b0d9932bc0b0bea645115b5 100644 (file)
                        );
                        buildSettings = {
                                DYLIB_COMPATIBILITY_VERSION = 2.0.0;
-                               DYLIB_CURRENT_VERSION = 2.0.8;
+                               DYLIB_CURRENT_VERSION = 2.0.9;
                                FRAMEWORK_SEARCH_PATHS = "$(LOCAL_LIBRARY_DIR)/Frameworks";
                                FRAMEWORK_VERSION = A;
                                GCC_ENABLE_TRIGRAPHS = NO;
                        buildSettings = {
                                COPY_PHASE_STRIP = NO;
                                DYLIB_COMPATIBILITY_VERSION = 2.0.0;
-                               DYLIB_CURRENT_VERSION = 2.0.8;
+                               DYLIB_CURRENT_VERSION = 2.0.9;
                                FRAMEWORK_SEARCH_PATHS = "$(LOCAL_LIBRARY_DIR)/Frameworks";
                                FRAMEWORK_VERSION = A;
                                GCC_ENABLE_TRIGRAPHS = NO;
                                DEPLOYMENT_POSTPROCESSING = YES;
                                DSTROOT = /;
                                DYLIB_COMPATIBILITY_VERSION = 2.0.0;
-                               DYLIB_CURRENT_VERSION = 2.0.8;
+                               DYLIB_CURRENT_VERSION = 2.0.9;
                                DYLIB_INSTALL_NAME_BASE = "@executable_path/../Frameworks/";
                                FRAMEWORK_SEARCH_PATHS = "$(USER_LIBRARY_DIR)/EmbeddedFrameworks";
                                FRAMEWORK_VERSION = A;
                        isa = XCBuildConfiguration;
                        buildSettings = {
                                DYLIB_COMPATIBILITY_VERSION = 2.0.0;
-                               DYLIB_CURRENT_VERSION = 2.0.8;
+                               DYLIB_CURRENT_VERSION = 2.0.9;
                                FRAMEWORK_SEARCH_PATHS = "$(LOCAL_LIBRARY_DIR)/Frameworks";
                                FRAMEWORK_VERSION = A;
                                GCC_ENABLE_TRIGRAPHS = NO;
index 9e4c4f9f1f04e02699205d44f2583080302268fa..709d85beff4cd24bb10523581b4f6389f2d74e15 100644 (file)
@@ -159,7 +159,9 @@ static BOOL     isInRADMode = YES;
 }
 
 - (void)prepareForLaunch {
-  NSUserDefaults *ud;
+  NSUserDefaults      *ud;
+  NSArray             *appenders;
+  NSMutableDictionary *tmp, *fmt;
 
   ud = [NSUserDefaults standardUserDefaults];
 
@@ -168,7 +170,25 @@ static BOOL     isInRADMode = YES;
   [ud setObject:@"SOPEXConsoleAppender" forKey:@"NGLogDefaultAppenderClass"];
   [ud setObject:@"SOPEXConsoleEventFormatter"
       forKey:@"NGLogDefaultLogEventFormatterClass"];
-  
+
+  fmt = [[NSMutableDictionary alloc] initWithCapacity:1];
+  [fmt setObject:@"SOPEXConsoleEventFormatter" forKey:@"Class"];
+
+  tmp = [[NSMutableDictionary alloc] initWithCapacity:1];
+  [tmp setObject:@"SOPEXConsoleAppender" forKey:@"Class"];
+  [tmp setObject:fmt                     forKey:@"Formatter"];
+  [fmt release];
+
+  appenders = [[NSArray alloc] initWithObjects:tmp, nil];
+  [tmp release];
+
+  tmp = [[NSMutableDictionary alloc] initWithCapacity:2];
+  [tmp setObject:@"INFO"   forKey:@"LogLevel"];
+  [tmp setObject:appenders forKey:@"Appenders"];
+  [appenders release];
+  [ud setObject:tmp forKey:@"WOHttpTransactionLoggerConfig"];
+  [tmp release];
+
   /* SOPE options */
   
   /* wildcard host and automatic port */
index 2637404d2fe48652a550bca1c230c2d7011310ae..72ba4f54cc9c89a1fcf350cc0280aa0aae1f39c7 100644 (file)
@@ -7,7 +7,7 @@
 
 MAJOR_VERSION=2
 MINOR_VERSION=0
-SUBMINOR_VERSION=8
+SUBMINOR_VERSION=9
 
 # v2.0.0 requires NGObjWeb v4.5.95
 # v1.0.7 requires NGObjWeb v4.2.341