add options for logging

I wanted to disable file logging in my setup, so I added these options.

This patch assumes #20 is merged, but that can easily be changed.