Fix for the relax IO logging with the -l command line argument.
This is a partial fix for bug #12489 (https://gna.org/bugs/?12489). The teeing problem still has to be fixed.
Authored by: bugman 2008-10-23
Parent: [r7941]
Child: [r7943]