#
1.7 |
|
02-Mar-2020 |
christos |
Add sysloglike attr.
|
#
1.6 |
|
02-Mar-2020 |
christos |
PR/55041: Fix printf format in syslog(3) error message.
|
Revision tags: netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
|
#
1.5 |
|
18-Apr-2017 |
maya |
always initialize iovcnt
from clang static analyzer
|
#
1.4 |
|
22-Mar-2017 |
kre |
Unbreak build, init variable (not a false alarm for this one.)
|
#
1.3 |
|
22-Mar-2017 |
roy |
openlog(3): add LOG_PTRIM and LOG_NLOG log options.
syslog(3) is the one stop method of logging system events and diagnostics. When debugging a daemon in the foreground on a terminal, each line is prefixed with tag[pid]: which is very repetative and can take up valuable screen estate. LOG_PTRIM solves this by removing this prefix from stderr output.
There is also the case where the debugging could involve a dry-run and syslog(3) calls would pollute the system log with incorrect data. LOG_NLOG solves this by not writing the the system log, but allowing LOG_PERROR to operate as before.
Initially discussed here: https://mail-index.netbsd.org/tech-userlevel/2016/10/06/msg010330.html
|
Revision tags: pgoyette-localcount-20170320 bouyer-socketcan-base
|
#
1.2 |
|
12-Jan-2017 |
christos |
branches: 1.2.2; 1.2.4; A little more restructuring so that we don't need mutex stuff in syslog_ss.
|
#
1.1 |
|
12-Jan-2017 |
christos |
Split syslog.c to:
- syslog_ss.c *_ss api functions (don't use stdio, time) - syslog.c: *syslog* non _ss api functions (use stdio, time) - xsyslog.c> common guts.
The motivation for this is not to drag in stdio/locale/floating point/time for every binary, since syslog_ss() is used in __stack_check_fail() for SSP.
|
Revision tags: prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
|
#
1.5 |
|
18-Apr-2017 |
maya |
always initialize iovcnt
from clang static analyzer
|
#
1.4 |
|
22-Mar-2017 |
kre |
Unbreak build, init variable (not a false alarm for this one.)
|
#
1.3 |
|
22-Mar-2017 |
roy |
openlog(3): add LOG_PTRIM and LOG_NLOG log options.
syslog(3) is the one stop method of logging system events and diagnostics. When debugging a daemon in the foreground on a terminal, each line is prefixed with tag[pid]: which is very repetative and can take up valuable screen estate. LOG_PTRIM solves this by removing this prefix from stderr output.
There is also the case where the debugging could involve a dry-run and syslog(3) calls would pollute the system log with incorrect data. LOG_NLOG solves this by not writing the the system log, but allowing LOG_PERROR to operate as before.
Initially discussed here: https://mail-index.netbsd.org/tech-userlevel/2016/10/06/msg010330.html
|
Revision tags: pgoyette-localcount-20170320 bouyer-socketcan-base
|
#
1.2 |
|
12-Jan-2017 |
christos |
branches: 1.2.2; 1.2.4; A little more restructuring so that we don't need mutex stuff in syslog_ss.
|
#
1.1 |
|
12-Jan-2017 |
christos |
Split syslog.c to:
- syslog_ss.c *_ss api functions (don't use stdio, time) - syslog.c: *syslog* non _ss api functions (use stdio, time) - xsyslog.c> common guts.
The motivation for this is not to drag in stdio/locale/floating point/time for every binary, since syslog_ss() is used in __stack_check_fail() for SSP.
|
#
1.2 |
|
12-Jan-2017 |
christos |
A little more restructuring so that we don't need mutex stuff in syslog_ss.
|
#
1.1 |
|
12-Jan-2017 |
christos |
Split syslog.c to:
- syslog_ss.c *_ss api functions (don't use stdio, time) - syslog.c: *syslog* non _ss api functions (use stdio, time) - xsyslog.c> common guts.
The motivation for this is not to drag in stdio/locale/floating point/time for every binary, since syslog_ss() is used in __stack_check_fail() for SSP.
|