diff --git a/documentation/ref-manual/ref-features.xml b/documentation/ref-manual/ref-features.xml
index 282a517191..a4516a2665 100644
--- a/documentation/ref-manual/ref-features.xml
+++ b/documentation/ref-manual/ref-features.xml
@@ -297,6 +297,12 @@
Enables logging postinstall script runs to
the /var/log/postinstall.log file
on first boot of the image on the target system.
+
+ To make the /var/log directory
+ on the target persistent, use the
+ VOLATILE_LOG_DIR
+ variable by setting it to "no".
+ ptest-pkgs:
Installs ptest packages for all ptest-enabled recipes.
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index a696ee4e66..6e15e65f54 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -37,7 +37,7 @@
S
T
U
-
+ V
W
X
@@ -15544,8 +15544,30 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
-
-
+ V
+
+ VOLATILE_LOG_DIR
+
+ VOLATILE_LOG_DIR[doc] = "Specifies the persistence of the target's /var/log directory, which is used to house postinstall target log files."
+
+
+
+
+ Specifies the persistence of the target's
+ /var/log directory, which is used to
+ house postinstall target log files.
+
+
+
+ By default, VOLATILE_LOG_DIR is set
+ to "yes", which means the file is not persistent.
+ You can override this setting by setting the
+ variable to "no" to make the log directory persistent.
+
+
+
+
+ W