Skip to content

Commit 7064b3d

Browse files
committed
Added note to clarify $SYSUPTIME behavior.
Signed-off-by: Zsolt Gyulai (zgyulai) <zsolt.gyulai@quest.com>
1 parent b59a8a8 commit 7064b3d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/_admin-guide/110_Template_and_rewrite/000_Customize_message_format/004_Macros_of_syslog-ng.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,9 @@ The time elapsed since the {{ site.product.short_name }} instance was
406406
started (that is, the uptime of the {{ site.product.short_name }} process). The value of
407407
this macro is an integer containing the time in 1/100th of the second.
408408

409+
**NOTE:** The ${SYSUPTIME} macro is calculated based on the system clock. This means that if the system clock runs normally without adjustments, ${SYSUPTIME} will accurately reflect the elapsed time since the process started. However, if the system clock is changed during runtime for any reason, ${SYSUPTIME} will also shift accordingly. After such a clock change, the value may no longer represent the actual process uptime.
410+
{: .notice--info}
411+
409412
Available in {{ site.product.short_name }} version 3.4 and later.
410413

411414
## ${TAG}

0 commit comments

Comments
 (0)