Author: rfm
Date: Thu May 7 08:44:22 2015
New Revision: 38480
URL: http://svn.gna.org/viewcvs/gnustep?rev=38480&view=rev
Log:
Fix log puge
Modified:
libs/ec/trunk/EcCommand.m
libs/ec/trunk/EcProcess.m
libs/ec/trunk/README
Modified: libs/ec/trunk/EcCommand.m
URL:
http://svn.gna.org/viewcvs/gnustep/libs/ec/trunk/EcCommand.m?rev=38480&r1=38479&r2=38480&view=diff
==============================================================================
--- libs/ec/trunk/EcCommand.m (original)
+++ libs/ec/trunk/EcCommand.m Thu May 7 08:44:22 2015
@@ -2427,7 +2427,7 @@
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
Modified: libs/ec/trunk/EcProcess.m
URL:
http://svn.gna.org/viewcvs/gnustep/libs/ec/trunk/EcProcess.m?rev=38480&r1=38479&r2=38480&view=diff
==============================================================================
--- libs/ec/trunk/EcProcess.m (original)
+++ libs/ec/trunk/EcProcess.m Thu May 7 08:44:22 2015
@@ -446,7 +446,6 @@
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 @@
{
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);
Modified: libs/ec/trunk/README
URL:
http://svn.gna.org/viewcvs/gnustep/libs/ec/trunk/README?rev=38480&r1=38479&r2=38480&view=diff
==============================================================================
--- libs/ec/trunk/README (original)
+++ libs/ec/trunk/README Thu May 7 08:44:22 2015
@@ -16,7 +16,8 @@
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
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs