The documentation you are viewing is for an older version of this component.
Switch to the latest (v5) version.
Log files are plain text files, containing rows of log activity, each row being a standalone activity formatted as specified in dot-errorhandler's configuration file.
By default, log activities are formatted with JSON, so each row should be a decodable JSON string.
Each row in a log file should contain the following values:
By leveraging dot-errorhandler's extra providers, you can also log additional request parameters.
Learn more about what additional parameters are available on the extra data page.
For a clear separation between different types of logs, we recommend that you store files from each type in their own directory.