Re: asl log level "info"
Re: asl log level "info"
- Subject: Re: asl log level "info"
- From: Graham J Lee <email@hidden>
- Date: Wed, 7 Mar 2007 11:51:38 +0000
On 7 Mar 2007, at 09:01, Gabriel Zachmann wrote:
Hi,
i really would like to log messages from my app with log level
ASL_LEVEL_INFO through the asl API.
Alternatively, i could live with a separate log file, but i wasn't
able to achieve that either.
Does anybody know how to do that without editing syslog.conf, or
any other "sudo" commands?
But that's the point of asl or syslog...I (the system manager, user,
whatever) get to stem the flow of your verbal diarrhoea by choosing
what log entries _I_, as the person who has to deal with them, get to
see. You get to choose how important each log message is and hence
the log level, I get to choose which ones I have to read. Of course,
your documentation will explain the sorts of information recorded at
ASL_LEVEL_INFO which will help me to choose ;-).
In other words, what you're seeing is a feature. Your program
actually _is_ logging at the info level, and ASL hasn't been told to
record those logs anywhere.
Cheers,
Graham.
_______________________________________________
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