LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Perl Screensavers: Where does STDERR go in Ubuntu? (http://www.linuxquestions.org/questions/linux-software-2/perl-screensavers-where-does-stderr-go-in-ubuntu-4175423814/)

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:

http://manpages.ubuntu.com/manpages/...3/stdin.3.html

and maybe this:

http://stuff.mit.edu/iap/perl/slides..._standard.html

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 02:08 AM.