mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-02 01:21:08 +00:00
improve logging
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39258 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5f9bfda3f5
commit
f2bf975f00
1 changed files with 11 additions and 6 deletions
|
@ -183,8 +183,10 @@ typedef enum {
|
||||||
if (e != nil)
|
if (e != nil)
|
||||||
{
|
{
|
||||||
NSDebugMLLog(@"NSSocketPortNameServer",
|
NSDebugMLLog(@"NSSocketPortNameServer",
|
||||||
@"failed connect to gdomap on %@ - %@",
|
@"failed connect to gdomap on %@:%@ - %@",
|
||||||
[[notification object] socketAddress], e);
|
[[notification object] socketAddress],
|
||||||
|
[[notification object] socketService],
|
||||||
|
e);
|
||||||
/*
|
/*
|
||||||
* Remove our file handle, then either retry or fail.
|
* Remove our file handle, then either retry or fail.
|
||||||
*/
|
*/
|
||||||
|
@ -251,8 +253,9 @@ typedef enum {
|
||||||
if (d == nil || [d length] == 0)
|
if (d == nil || [d length] == 0)
|
||||||
{
|
{
|
||||||
[self fail];
|
[self fail];
|
||||||
NSLog(@"NSSocketPortNameServer lost connection to gdomap on %@",
|
NSLog(@"NSSocketPortNameServer lost connection to gdomap on %@:%@",
|
||||||
[[notification object] socketAddress]);
|
[[notification object] socketAddress],
|
||||||
|
[[notification object] socketService]);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -321,8 +324,10 @@ typedef enum {
|
||||||
if (e != nil)
|
if (e != nil)
|
||||||
{
|
{
|
||||||
[self fail];
|
[self fail];
|
||||||
NSLog(@"NSSocketPortNameServer failed write to gdomap on %@ - %@",
|
NSLog(@"NSSocketPortNameServer failed write to gdomap on %@:%@ - %@",
|
||||||
[[notification object] socketAddress], e);
|
[[notification object] socketAddress],
|
||||||
|
[[notification object] socketService],
|
||||||
|
e);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue