Add option to allow multiline logs in error_log, fixes #366