log: log fatal errors

This way, they end up in the logfile, as expected.
Merge pull request #6 from vincentbernat/fix/log-fatal-errors

log: log fatal errors