diff --git a/lib/modules/datasource/custom/readme.md b/lib/modules/datasource/custom/readme.md index 7660d511963239ad8724a7c3491584cb35261a1b..a4a964d638d99282a37acf73717a7461782fa050 100644 --- a/lib/modules/datasource/custom/readme.md +++ b/lib/modules/datasource/custom/readme.md @@ -83,10 +83,14 @@ All available options: ### Debugging -Renovate writes tracing log entries before transformation starts and after if Renovate finds an unexpected data format. -To surface this data you can use `logLevelRemap` to surface this data on the App or run Renovate in dryRun mode and log level set to `trace` locally. +Renovate writes tracing logs entries before transformation. +If Renovate finds an unexpected dataformat, it also writes a tracing log _after_ transformation. -```json +#### Getting trace level logs on hosted app + +If you use the Mend Renovate app, use the [`logLevelRemap` config option](../../../configuration-options.md#loglevelremap) to get the trace log. + +```json title="Getting trace logs from the Mend Renovate app" { "logLevelRemap": [ { @@ -97,6 +101,13 @@ To surface this data you can use `logLevelRemap` to surface this data on the App } ``` +#### Getting trace level logs when self-hosting + +If you self-host Renovate, follow these steps to get the trace logs: + +1. Set the [`logFileLevel` config option](../../../self-hosted-configuration.md#logfilelevel) to `trace` +1. Run Renovate in [`dryRun` mode](../../../self-hosted-configuration.md#dryrun) + ### Formats #### JSON