Re: Apple system log facility: questions
Re: Apple system log facility: questions
- Subject: Re: Apple system log facility: questions
- From: Paul Nelson <email@hidden>
- Date: Thu, 16 Nov 2006 09:40:16 -0600
- Thread-topic: Apple system log facility: questions
I use asl quite a bit with Tiger. I think it is superior to syslog because
of the ability to put detail into asl.log, and summarize in system.log.
I never had any trouble figuring out the api. Not sure why this is even an
issue.
One thing I wish I could do is have users set the logging to debug via
sudo syslog -c 0 -d
and have it stay there after rebooting. A lot of stuff I do needs to have
debug output during system boot. Having a user in the field change
syslog.conf is often too difficult.
Paul Nelson
Thursby Software Systems, Inc.
on 11/16/06 5:01 AM, Stephane at email@hidden wrote:
> o is it worth and clever to use asl in Tiger?
>
> Reading this post in the archive:
>
> "Subject: Re: Configuring syslog.conf for custom facilities.
> From: *******
> Date: Mon, 2 Oct 2006 10:23:12 -0700
>
> [...]
>
> But due to a bug in asl_open(), it doesn't. Sorry about that! The bug
> will be fixed in 10.5 (Leopard).
> "
>
> makes me think asl could be like the Launchd Agent technology:
> available but broken.
>
> o why is there no constant defined for "Facility"?
>
> o is there any real readable documentation somewhere?
>
> I mean:
>
> - the man page for all asl_ API is not a real man page. It
> describes the facility globally but not the APIs. man fopen vs man asl
>
> - the header asl.h is not headerdoc-ed
>
> - there is no better documentation in the ADC Reference Library
>
> o Facility name:
>
> "We're encouraging developers to try to use a "Reverse ICANN" naming
> convention for facility names to avoid namespace conflicts."
>
> What does it mean exactly?
>
> [Facility install], [Facility daemon], [Facility user], [Facility
> authpriv] does not highlight any "Reverse ICANN" naming convention
> AFAIK.
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Darwin-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden