Re: Using system log
Re: Using system log
- Subject: Re: Using system log
- From: Gil Dawson <email@hidden>
- Date: Wed, 19 Apr 2017 04:48:48 -0700
Thanks, Shane--
That's exactly the advice I was looking for. And, no, asynchronous writes might simplify my periodicity precision provisions, but other ways would work.
You've encouraged me to look for the documentation that describes the MacOS log system.
--Gil
On Apr 17, 2017, at 5:25 PM, Shane Stanley <email@hidden> wrote:
On 18 Apr 2017, at 9:37 am, Gil Dawson <email@hidden> wrote:
>
> I'm sketching the design of an app that will need a file with many of the characteristics of the System Log files -- timestamping, periodic rotating, viewable (via Console?) with searching and filtering, asynchronous writes,...
>
> Is it practical to consider calling El Capitan logging processes from AppleScript to write this file?
Are they really "needs" or "wants"? Do you really "need" asynchronous writes, for example?
Writing to the system log is relatively simple. Anything else using the log system, and you should keep in mind that you will probably have to completely rewrite it when you upgrade to Sierra, where there are issues even reading log files for non admin users.
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>, <latenightsw.com>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden