-   Linux - Software (
-   -   Perl Screensavers: Where does STDERR go in Ubuntu? (

linuxStudent11 08-24-2012 11:14 AM

Perl Screensavers: Where does STDERR go in Ubuntu?
The Natty and later Ubuntus don't log to /var/log/messges. So where does STDERR go now. I'm playing with Perl screensavers and I can't get log info out for debugging.

Also, I can't even create my own directories or files in /tmp. Is there some systemic reason that keeps gnome-screensaver from allowing that?

frankbell 08-24-2012 09:13 PM

This should help:

and maybe this:

linuxStudent11 08-25-2012 02:49 AM

True, those are the standard definitions for stdin, stdout, and stderr. But that's not what I'm asking.
When screensavers run, there is no console IO and the userid is ROOT. And ROOT isn't logged in.
So where do these things go?
Also complicating the issue with Ubuntu is that the latest versions (after 10?) no longer write to /var/log/messages. The claim is that errors are written to /var/log/syslog. But I see nothing there from the screensavers.
I can possibly change /etc/rsyslog.conf, but I'd be surprised if screensavers don't already go someplace. So where is that place?
I tried 'grep -iR screensaver /var/log' but no joy.
So is STDERR just getting dumped to /dev/null or something?
I'm using Ubuntu 11.04.
Thanks for trying.
BTW: Is this a good forum to ask this question?

All times are GMT -5. The time now is 07:01 AM.