diff --git a/lib/modules/datasource/custom/readme.md b/lib/modules/datasource/custom/readme.md
index a4a964d638d99282a37acf73717a7461782fa050..0764f76feb979653bc0b37a1be6519ec1c91c61b 100644
--- a/lib/modules/datasource/custom/readme.md
+++ b/lib/modules/datasource/custom/readme.md
@@ -105,7 +105,7 @@ If you use the Mend Renovate app, use the [`logLevelRemap` config option](../../
 
 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. Set the [`LOG_FILE_LEVEL` env var](../../../config-overview.md#logging-variables) to `trace`
 1. Run Renovate in [`dryRun` mode](../../../self-hosted-configuration.md#dryrun)
 
 ### Formats