os x 10.12 sierra syslog

Steve Wardle smw1885 at icloud.com
Mon Sep 26 13:19:31 PDT 2016


> On 26 Sep 2016, at 18:58, Rainer Müller <raimue at macports.org> wrote:
> 
> On 2016-09-26 11:52, Steve Wardle wrote:
>> This isn't just a macports problem but someone here may be able to
>> help.
>> 
>> I updated from OS X 10.11 to 10.12 over the weekend. After rebooting
>> the machine was still running macports binaries installed under OS X
>> 10.11. Postfix, dovecot2 and amavisd were running and logging to
>> /var/log/mail.log correctly.
>> 
>> I removed and reinstalled macports and all the ports for OS X 10.12. 
>> Now postlog, postfix, dovecot2 and amavisd run OK but nothing is
>> logged to /var/log/mail.log. The /usr/bin/logger command also won't
>> log to /var/log/mail.log.
>> 
>> If I run postlog or logger from my 10.11 backup they do log to
>> /var/log/mail.log so syslogd seems to be working as in 10.11 but any
>> binaries compiled under 10.12 fail to talk to it.
> 
> Please check Console.app instead. macOS 10.12 Sierra introduces "Unified
> Logging" that now longer writes to log files on disk.
> 
> There is also a log(1) command line utility to query the log database.
> 
> https://developer.apple.com/reference/os/1891852-logging

Thanks but I’d seen that article.
The log command returns nothing for any of the applications which log to the mail facility.




More information about the macports-users mailing list