Minor fixes

- Fixing a regression affecting writing to the log file
- Fixing an argument passed to a dtrace probe