This commit replaces the various log entry points with a common logger provided via context. This is helpful as it groups all log entries together via the txid and should help in the future when debugging cascading errors.
This is the import from the separate monfront repository. The history could not be imported, but this should suffice.