diff --git a/docs/commandref.html b/docs/commandref.html
index 8162faab6..af839db86 100644
--- a/docs/commandref.html
+++ b/docs/commandref.html
@@ -1101,7 +1101,8 @@ A line ending with \ will be concatenated with the next one, so long lines
The logfile name can also take wildcards for easier logfile rotation,
see the FileLog section. Just apply the
archivecmd / archivedir / nrarchive attributes to the
- global device as you would do for a FileLog device.
+ global device as you would do for a FileLog device.
+ You can access the current name of the logfile with { $currlogfile }.