]> git.armaanb.net Git - opendoas.git/commit
Add nolog option to avoid syslog(3)
authorkn <kn>
Fri, 9 Oct 2020 07:43:38 +0000 (07:43 +0000)
committerDuncan Overbruck <mail@duncano.de>
Thu, 5 Nov 2020 19:51:47 +0000 (20:51 +0100)
commit1530e7aa087276696db7d321a1b9164a49ddea4b
tree075820d375d08ec100b413a284d552daea4acbd6
parent7441dfc4da8c9474ee767464dabe73ca90ff42ae
Add nolog option to avoid syslog(3)

doas(1) unconditionally logs all executions but syslog.conf(5) provides no
means to filter messages by user, target or command.

Add the "nolog" option to doas.conf(5) such that syslog becomes an opt-out
feature;  this keeps configuration simple enough yet powerful since rule
definition is the best place to decide whether to log commands or not on a
per rule basis - this also aoids duplicating information or logic in any
other log processing tool.

OK tedu martijn
doas.c
doas.conf.5
doas.h
parse.y