Re: tremendous size for .xsession-errors
Am 2006-10-31 23:01:47, schrieb Deephay: Greetings all, I have a problem with my .xsession-errors file, this file will grow tremendous size each day (956 MB today, cleared yesterday, with a 4 GB size). The major source of errors comes from gnash (I am using the amd64 port which adobe flash player won't work), gnash is not matured yet and will produce lots of error messages with certain kind of flash movies which can be easily found on many websites, all of the messages are logged in the .xsession-errors (millions of lines!), mplayer and other applications produce some messages as well. So I want to know that is there a way to turn down the verbose level of the error log, or should I just add an entry in the crontab to clean it every ten minutes? TIA! Write a bugreport against gnash to get the debuging code removed. Last yeasr I had a ~/.xsession-errors of OVER 18 GBytes and this written over NFS on my FileServer which servs /home. Thanks, Greetings and nice Day Michelle Konzack Systemadministrator Tamay Dogan Network Debian GNU/Linux Consultant -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ # Debian GNU/Linux Consultant # Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSM LinuxMichi 0033/6/6192519367100 Strasbourg/France IRC #Debian (irc.icq.com) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: tremendous size for .xsession-errors
On 11/2/06, Brad Sawatzky [EMAIL PROTECTED] wrote: Deephay wrote: I have a problem with my .xsession-errors file, this file will grow tremendous size each day (956 MB today, cleared yesterday, with a 4 GB size). The major source of errors comes from gnash (I am using the amd64 port which adobe flash player won't work), gnash is not matured yet and will produce lots of error messages with certain kind of flash movies which can be easily found on many websites, all of the messages are logged in the .xsession-errors (millions of lines!), mplayer and other applications produce some messages as well. So I want to know that is there a way to turn down the verbose level of the error log, or should I just add an entry in the crontab to clean it every ten minutes? TIA! See http://www.gnu.org/software/gnash/manual/gnash.html#gnashrc for details on controlling the debug output of gnash. If there are only a few apps that spew to .xsession-errors you could try redirecting stderr (and/or stdout) to another file when they are invoked (ie. make a shell script wrapper for the offending program and put the wrapper in a directory that is at the front of $PATH). #! /bin/bash ## Wrapper for verbose apps ## NOTE: Make sure you invoke the real program using the full path ## if the script has the same name. If you don't, you'll ## be introduced to the joys of unintended recursion. exec /usr/bin/spew.exe $@ /dev/null 21 -- Brad Thanks very much for the suggestions also. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] Regards, Deephay -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: tremendous size for .xsession-errors
Deephay wrote: I have a problem with my .xsession-errors file, this file will grow tremendous size each day (956 MB today, cleared yesterday, with a 4 GB size). The major source of errors comes from gnash (I am using the amd64 port which adobe flash player won't work), gnash is not matured yet and will produce lots of error messages with certain kind of flash movies which can be easily found on many websites, all of the messages are logged in the .xsession-errors (millions of lines!), mplayer and other applications produce some messages as well. So I want to know that is there a way to turn down the verbose level of the error log, or should I just add an entry in the crontab to clean it every ten minutes? TIA! See http://www.gnu.org/software/gnash/manual/gnash.html#gnashrc for details on controlling the debug output of gnash. If there are only a few apps that spew to .xsession-errors you could try redirecting stderr (and/or stdout) to another file when they are invoked (ie. make a shell script wrapper for the offending program and put the wrapper in a directory that is at the front of $PATH). #! /bin/bash ## Wrapper for verbose apps ## NOTE: Make sure you invoke the real program using the full path ## if the script has the same name. If you don't, you'll ## be introduced to the joys of unintended recursion. exec /usr/bin/spew.exe $@ /dev/null 21 -- Brad -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: tremendous size for .xsession-errors
Deephay wrote: I have a problem with my .xsession-errors file, this file will grow tremendous size each day (956 MB today, cleared yesterday, with a 4 GB size). The major source of errors comes from gnash (I am using the amd64 port which adobe flash player won't work), gnash is not matured yet and will produce lots of error messages with certain kind of flash movies which can be easily found on many websites, all of the messages are logged in the .xsession-errors (millions of lines!), mplayer and other applications produce some messages as well. So I want to know that is there a way to turn down the verbose level of the error log, or should I just add an entry in the crontab to clean it every ten minutes? TIA! If you never care about any errors that appear in that file, maybe making it a symlink to /dev/null would work? I don't know a way to reduce the verbosity offhand. -- Kevin B. McCarty [EMAIL PROTECTED] Physics Department WWW: http://www.princeton.edu/~kmccarty/Princeton University GPG: public key ID 4F83C751 Princeton, NJ 08544 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: tremendous size for .xsession-errors
On 11/1/06, Kevin B. McCarty [EMAIL PROTECTED] wrote: Deephay wrote: I have a problem with my .xsession-errors file, this file will grow tremendous size each day (956 MB today, cleared yesterday, with a 4 GB size). The major source of errors comes from gnash (I am using the amd64 port which adobe flash player won't work), gnash is not matured yet and will produce lots of error messages with certain kind of flash movies which can be easily found on many websites, all of the messages are logged in the .xsession-errors (millions of lines!), mplayer and other applications produce some messages as well. So I want to know that is there a way to turn down the verbose level of the error log, or should I just add an entry in the crontab to clean it every ten minutes? TIA! If you never care about any errors that appear in that file, maybe making it a symlink to /dev/null would work? I don't know a way to reduce the verbosity offhand. Thanks for the suggestion. -- Kevin B. McCarty [EMAIL PROTECTED] Physics Department WWW: http://www.princeton.edu/~kmccarty/Princeton University GPG: public key ID 4F83C751 Princeton, NJ 08544 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]