Allow configuring log_format

Closes #131