News for hackers. Stuff that matters.
Re:Log level 'error' should mean that something needs to be ... by uniq7 on Saturday December 20, 2025 @12:37PM (#46337909)
The error doesn't need to be extremely specific or point to the actual root cause.

In your example,

- "Error while serving file" would be a bad error message,

- "Failed to read file 'foo/bar.html'" would be acceptable, and

- "Failed to read file 'foo/bar.html' due to EIO: Underlying device error (disk failure, I/O bus error). Please check the disk integrity." would be perfect (assuming the http server has access to the underlying error produced by the read operation).

There are no comments on this comment yet.