add logfile output