diff --git a/EcCommand.m b/EcCommand.m index b09edc1..c8a15e3 100644 --- a/EcCommand.m +++ b/EcCommand.m @@ -2427,7 +2427,7 @@ static NSString* cmdWord(NSArray* a, unsigned int pos) when = [NSCalendarDate date]; now = [when timeIntervalSinceReferenceDate]; - logs = [[self ecUserDirectory] stringByAppendingPathComponent: @"Logs"]; + logs = [[self ecUserDirectory] stringByAppendingPathComponent: @"DebugLogs"]; /* When trying to make space, we can delete up to the point when we * would start compressing but no further ... we don't want to delete diff --git a/EcProcess.m b/EcProcess.m index 365e44f..fd15eaf 100644 --- a/EcProcess.m +++ b/EcProcess.m @@ -446,7 +446,6 @@ NSString* cmdLogFormat(EcLogType t, NSString *fmt) { static NSString *h = nil; - static NSDictionary *l = nil; NSCalendarDate *c = [[cDateClass alloc] init]; NSString *f = cmdLogKey(t); NSString *n = cmdLogName(); @@ -457,11 +456,7 @@ cmdLogFormat(EcLogType t, NSString *fmt) { h = [[[NSHost currentHost] wellKnownName] copy]; } - if (l == nil) - { - l = [[cmdDefs dictionaryRepresentation] copy]; - } - d = [c descriptionWithCalendarFormat: @"%Y-%m-%d %H:%M:%S.%F %z" locale: l]; + d = [c descriptionWithCalendarFormat: @"%Y-%m-%d %H:%M:%S.%F %z" locale: nil]; result = [stringClass stringWithFormat: @"%@(%@): %@ %@ - %@\n", n, h, d, f, fmt]; RELEASE(c); diff --git a/README b/README index f8078ce..7dcb297 100644 --- a/README +++ b/README @@ -16,7 +16,8 @@ Key points ... 1. You may want to use 'defaults write NSGlobalDomain EcvEffectiveUser xxx' where 'xxx' is your username, to tell the system it should be running as you. -2. Debug files are written in ~xxx/Logs ... look there to diagnose problems. +2. Debug files are written in ~xxx/DebugLogs ... +look there to diagnose problems. 3. Configuration is in ~xxx/Data. Specifically, you need to configure ~xxx/Data/Command/Control.plist, ~xxx/Data/Command/Operators.plist, and