Xsession or xinit should install a filter on stdout/stderr that checks every line in the output, so that if the same line is written repeatedly, they'd display something like:
<$REPEATED_ERROR_MESSAGE_PRODUCED_BY_WHATEVER_APPLICATION> $date - Xsession: last message repeated 1.000.000 times Pulseaudio does something similar, producing entries like this in syslog: Nov 9 10:35:42 alkisg pulseaudio[2031]: last message repeated 7000 times -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/60448 Title: .xsession-errors file grows out of control & saturates disk space To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/60448/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
