[Bug 255664] [patch] syslog.3 - add detail about LOG_PID
    bugzilla-noreply at freebsd.org 
    bugzilla-noreply at freebsd.org
       
    Mon May 10 15:49:55 UTC 2021
    
    
  
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255664
--- Comment #4 from P Kern <des.gaufres at gmail.com> ---
(In reply to Fernando Apesteguía from comment #3)
That's correct.  The relevant lines in syslog.c are ...
        /*
         * Provide the process ID regardless of whether LOG_PID has been
         * specified, as it provides valuable information. Many
         * applications tend not to use this, even though they should.
         */
        (void)fprintf(fp, "%d ", getpid());
...
Previous to this, LOG_PID was optional.
The man page only states that LOG_PID is now enabled by default for FreeBSD.
Since LOG_PID used to be optional, some (like me) might reasonably expect that
it would still be possible to disable LOG_PID.
The above patch is meant to adjust the syslog(3) man page to make it clear that
for FreeBSD, LOG_PID is now permanent, that it is no longer optional.
Does that help?
-- 
You are receiving this mail because:
You are on the CC list for the bug.
    
    
More information about the freebsd-doc
mailing list