make sure logs are redirected to logfiles