mirror of
https://github.com/gnustep/libs-ec.git
synced 2025-02-20 18:32:09 +00:00
improve diagnosti logging
This commit is contained in:
parent
974811f604
commit
cd378db33a
2 changed files with 5 additions and 4 deletions
|
@ -12,6 +12,7 @@
|
|||
after all initialisation. Add -ecAwaken, -ecDidAwaken, and
|
||||
-ecConfigurationError: to make it easy to initialise stuff at the
|
||||
start of -ecRun and to ignore config updates before that happens.
|
||||
Improve diagnostic logging for registration failure.
|
||||
|
||||
2017-03-06 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
|
|
|
@ -2845,16 +2845,16 @@ static NSString* cmdWord(NSArray* a, unsigned int pos)
|
|||
}
|
||||
else
|
||||
{
|
||||
[[self cmdLogFile: logname]
|
||||
printf: @"registration attempt rejected - %@\n",
|
||||
[conf objectForKey: @"rejected"]];
|
||||
NSLog(@"Registering %@ with Control server: %@",
|
||||
host, [conf objectForKey: @"rejected"]);
|
||||
DESTROY(control);
|
||||
}
|
||||
}
|
||||
}
|
||||
NS_HANDLER
|
||||
{
|
||||
NSLog(@"Registering with control server: %@", localException);
|
||||
NSLog(@"Registering %@ with Control server: %@",
|
||||
host, localException);
|
||||
DESTROY(control);
|
||||
}
|
||||
NS_ENDHANDLER
|
||||
|
|
Loading…
Reference in a new issue