* write warnings into logfile instead of stdout