Re: syslog()

2023-06-12 Thread Daniel J. Luke
On Jun 12, 2023, at 7:59 AM, raf via macports-users wrote: > Thanks, Daniel. It's wierd that plenty of logs are > going into /var/log/system.log, just not the ones I try > to send via logger/syslog(). :-) IIRC stuff that was linked against older systems still sends syslogs thr

Re: syslog()

2023-06-12 Thread raf via macports-users
On Mon, Jun 12, 2023 at 12:51:33AM -0400, "Daniel J. Luke" wrote: > On Jun 12, 2023, at 12:39 AM, raf via macports-users > wrote: > > Does anyone known where auth.* logs end up? Or if they don't end up > > anywhere, is there a way to make them go somewhere? > &

Re: syslog()

2023-06-11 Thread Daniel J. Luke
On Jun 12, 2023, at 12:39 AM, raf via macports-users wrote: > Does anyone known where auth.* logs end up? Or if they don't end up > anywhere, is there a way to make them go somewhere? syslog stuff has changed a few times with MacOS .. I think the asl stuff stopped being default in ~

syslog()

2023-06-11 Thread raf via macports-users
Hi, I have a program that needs a syslog-compatible logging system (i.e. C's openlog(), syslog(), and closelog() functions, or Python's syslog module need to work). I have macos-10.14. If I do « logger -p auth.info 'Hi there' », I'd expect "Hi there" to appear in /var/log/system.log

Re: Logging to syslog (by unbound, nsd, etc.) disappearing in a black hole

2019-08-15 Thread Daniel J. Luke
On Aug 15, 2019, at 2:53 PM, Gerben Wierda wrote: > Now, that says that syslog messages also end up in Unified Logging. What it > doesn’t say how for instance old style messages for facility mail with level > notice end up there. Or with facility daemon with level info. So, h

Re: Logging to syslog (by unbound, nsd, etc.) disappearing in a black hole

2019-08-15 Thread Gerben Wierda
> On 15 Aug 2019, at 17:48, Daniel J. Luke wrote: > > High Sierra switched the way syslog works on Mac OS (see > https://developer.apple.com/documentation/os/logging > <https://developer.apple.com/documentation/os/logging>). This replaced the > ASL (and syslog)

Re: Logging to syslog (by unbound, nsd, etc.) disappearing in a black hole

2019-08-15 Thread Daniel J. Luke
High Sierra switched the way syslog works on Mac OS (see https://developer.apple.com/documentation/os/logging). This replaced the ASL (and syslog) stuff. you can use the 'log' command line utility to view the logs. [I am not a fan of the way this stuff works now] > On Aug 15, 2019, at 3:46

Logging to syslog (by unbound, nsd, etc.) disappearing in a black hole

2019-08-15 Thread Gerben Wierda
I’m running unbound. If I use file logging, it neatly ends up in the file I want. If I set syslog in the conf file (this is standard in macports unbound by the way) I get nothing. Logging disappears into a black hole, probably the same black hole where mail logging from postfix disappears