proper log redirects via exec