I'm trying to debug a new PolicyKit rule that looks like this:
polkit.addRule(function(action, subject) {
polkit.log("action=" + action);
polkit.log("subject=" + subject);
if (action.id == "org.freedesktop.udisks2.filesystem-unmount-others"){
return polkit.Result.YES;
}
});
But I can't find the output of the polkit.log()
calls anywhere in /var/log/
. I even tried adding a line to /etc/rsyslog.d/50-default.conf
*.* /var/log/all
which produces lots of output, but not for polkit.log()
. Where can I find the log messages for these calls?
Best Answer
From the policykit documentation:
This type of log events is usually found in
/var/log/auth.log
in Debian and its derivatives including Ubuntu.Source: /var/log/secure not present in 14.04 ,is there any alternative?