5 ms·
Are there any restrictions on how short the error_slug should be? The meat of some of my errors can be pretty long (for example an ffmpeg error). There are also
by deskamess 6mo ago
Are there any restrictions on how short the error_slug should be? The meat of some of my errors can be pretty long (for example an ffmpeg error). There are also many phases to a job - call them tasks. Can a canonical log line be a collection of task log lines?
- alcazar 6mo agoYou should avoid dumping the raw error entirely. The idea is that error_slug is a stable grouping key. The idea is to consolidate all that can be grouped into one logical unit. So you would do one long log line at the end, after all tasks are done.
- deskamess 6mo agoI see one of your responses that this is a complement to an existing logging system - a one line summary. That works for me.