use defined log file or default to /dev/null

stdout/stderr should be redirect to log file or /dev/null

https://github.com/jmxtrans/jmxtrans/issues/86