makes redirecting output to logfile easier
fixes event subscriptions