On 2018-03-26 17:31, Dave Howorth wrote:
On Mon, 26 Mar 2018 15:56:29 +0200 (CEST) "Carlos E. R." <> wrote:
If not, then check "/etc/permissions.local".
It just contains comments.
Ok, that's the default.
The date and the <4.5> are customizations. The rest is standard. The text message is up to the client app.
Well why is yours different to mine, if we both think they are standard?
The message part is up to the sending application, can't be customized. The parts before it can.
Ah, so yours is customised?
Yes, and I posted the customization. But only up to the date part.
which also refers to private files I was reading from mozilla. It is an error but not at warning level (it goes at level 5, "notice").
#define KERN_EMERG "<0>" /* system is unusable */ #define KERN_ALERT "<1>" /* action must be taken immediately */ #define KERN_CRIT "<2>" /* critical conditions */ #define KERN_ERR "<3>" /* error conditions */ #define KERN_WARNING "<4>" /* warning conditions */ #define KERN_NOTICE "<5>" /* normal but significant condition */ #define KERN_INFO "<6>" /* informational */ #define KERN_DEBUG "<7>" /* debug-level messages */
What decides that notices get logged to /var/log/warn? I looked in /etc/rsyslog.conf and /etc/rsyslog.d/remote.conf and there's nothing there that I can see.
It is up to the application that sends the messages; rsyslog is doing the right thing.
I think you misunderstood. Since the message from atril (and evince) seems to be a 'notice' (as opposed to a 'warning' or worse) how can I stop 'notices' being logged to /var/log/warn? Indeed, given the file name and the presence of /var/log/messages as well, why are 'notices' logged to /var/log/'warn' at all?
Mine is indeed a notice, but your's I don't know. The "<4.5>" is "<facility.priority>". Chances are your string is a warning correctly filed.
Seems a strange change for the atril authors to have made when forking from evince.
If you mean that atril sends a 4 instead of a 5, yes, it is possible.
Still never mind; worse things happen at sea. Thanks for the help.
Welcome. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)