Code: Select all
filter f_messages { level(info .. warn)
and not facility(auth, authpriv, cron, daemon, mail, news, kern, user)
and not program("sudo"); };
dirtbag wrote:in my /etc/sudoers, I have
jason ALL=NOPASSWD:/usr/bin/hcitool logfile=/dev/null
and I tried to use the logfile on the end of that line, but it doesnt seem to work in this instance
any ideas?
logfile
Path to the sudo log file (not the syslog log file). Setting a path turns on logging to a file; negating this option turns it off.
Code: Select all
!logfile
Code: Select all
destination null { file("/dev/null"); };Code: Select all
Defaults !logfileCode: Select all
Defaults logfile=/dev/nullActually we figured it out... This was the solution:dirtbag wrote:not sure what happened... but im not getting these messages anymore..
and I dont have anything on my sudo line blocking the log output either.
![]()
-DB
Code: Select all
Defaults !syslog