On Sat, 24 Mar 2018 23:21:34 +0100 "Carlos E. R." <robin.listas@telefonica.net> wrote:
On 2018-03-24 21:58, Dave Howorth wrote:
After Carlos' recent message about NVRM, I looked at my /var/log/warn (before I realized his problem was NV specific). One thing I noticed was a bunch of warnings from org.mate.atril.Daemon[3030] that included things like
UnregisterDocument URI 'file:///tmp/mozilla_dhoworth0/UFPLS-Factsheet.pdf'
It seems wrong that the filenames of documents I'm looking at should be exposed in a public log file like that. Indeed since nothing was wrong as far as I am aware, I don't understand why there is a warning at all.
Is that an atril bug (or bugs), or am I missing something?
Why not post the entire line as is? So that we can better understand and search for similar message.
I have posted the entire line, apart from the timestamp and hostname. But here you go: 2018-03-23T11:32:22.265295+00:00 acer-suse org.mate.atril.Daemon[3030]: UnregisterDocument URI 'file:///tmp/mozilla_dhoworth0/UFPLS-Factsheet.pdf'
Although I don't use mate, so I wouldn't see them. What is atril? Google seems to say it is a document viewer.
I don't use mate either. Atril is the program I use to view PDFs: "Atril is a simple multi-page document viewer. It can display and print PostScript (PS), Encapsulated PostScript (EPS), DJVU, DVI, XPS and Portable Document Format (PDF) files. When supported by the document, it also allows searching for text, copying text to the clipboard, hypertext navigation, and table-of-contents bookmarks. Atril is a fork of Evince." It doesn't suffer from the nasty Gnomeness that has overtaken evince.
As to your question, the log is not public, only root and root group can read them.
Ah, not so bad then. EXCEPT: $ l /var/log/warn -rw-r--r-- 1 root root 3319870 Mar 25 13:03 /var/log/warn $ l /var/log/messages -rw-r----- 1 root root 28381977 Mar 25 14:00 /var/log/messages What's that all about? I haven't tinkered with logging AFAIK.
What is it warning at?
As I said, I've no idea.
Since some years I see excessive logging at the warning level. I think I wrote a bugzilla about that, not sure. Also there is logging by default at debug level. Some desktops seem to be worse than others. And I think I read recently that things got worse because X now logs to journal instead than to file and very verbosely. There was work in progress about that.
Example of messages I found similar to yours:
/var/log/messages-20170610.xz:<4.5> 2017-04-29 21:59:15 Telcontar dbus 1469 - - [system] Rejected send message, 9 matched rules; type="method_return", sender=":1.1" (uid=104 pid=1446 comm="avahi-daemon: starting up ") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.96" (uid=1000 pid=6601 comm="/usr/bin/evince /tmp/mozilla_cer0/Entradas.pdf ")
Hmm, that looks like a similar message to do with evince, of which atril is a fork. But your log contains an awful lot more information than mine. I haven't customised mine at all, AFAIR.
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. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org