Skip to content

Force formatting of text for log entry preemptively.

Boros Gábor requested to merge force_log_eval into master

Created by: Kelketek

When trying to diagnose the cause of the Database connection issues, I discovered that they would not happen if I printed the log entry to standard out right before sending it to the DB. Unfortunately I ran into trouble with the instance manager losing track of the instance it was trying to provision (master) so I didn't get to fully test this idea. However, I suspect the issue is that some part of the log entry is lazily evaluated, and when it tries to evaluate it in the middle of the DB operation, there's a problem. Forcing it to transcribe the log text ahead of time may fix the issue.

@antoviaque

Merge request reports