[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Oops... 1 more (Windows) question
From: |
David Ayers |
Subject: |
Re: Oops... 1 more (Windows) question |
Date: |
Wed, 30 Nov 2005 10:30:32 +0100 |
User-agent: |
Mozilla Thunderbird 1.0.2 (X11/20051002) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Lloyd Dupont schrieb:
> I realize there is a GSUserDefaultsFlag(GSLogSyslog) test before
> writting to the event log (in NSLog.m).
> Now I wonder, why is it YES by default?
Well one reason would be for OPENSTEP/NT compatibility.
> Where does this value comes from?
Actually after re-reading:
http://www.gnustep.org/resources/documentation/Developer/Base/Reference/
"GSLogSyslog
Setting the user default GSLogSyslog to YES will cause log/debug
output to be sent to the syslog facility (on systems which support it),
rather than to the standard error stream. This is useful in environments
where stderr has been re-used strangely for some reason.
On mswindows, where syslog does not exist, this flag instead
controls whether log/debug output is sent to the windows event log."
I would interpret this to mean that the default is not set to be
compatible. I find this unfortunate but don't feel strongly about it.
> It's something I should understand....
It does seem strange that you currently get the logs if this default
isn't set. Have you tried:
defaults find GSLogSyslog
and check the plist of the application for additional default settings.
> And what happen to NSUserDefaults? where are they saved?
I think this is WIP but I believe the goal was the registry.
Cheers,
David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDjXE31Z7XJZzbH3ARAkEAAJ45xPa083X+halkjebqiDXQJk5mzQCfVBv8
0x/20TUILOv1tOkcRbcHWD0=
=sT2L
-----END PGP SIGNATURE-----