Skip to main content

Name

timestampformat — set the timestamp format used when logging to stderr

Synopsis

timestampformat = "[%a %d %b %Y %H:%M:%S] "

Description

Sets the timestamp format used by Momentum when logging to stderr. This output is usually not seen unless you invoke ecelerity using the -d option. The default value is shown above.

Note When log_hires_timestamp is enabled (Momentum 5.3 and later), every %S or %T conversion in the configured format is automatically followed by a .NNNNNN six-digit microsecond fraction, so the default value renders as [Mon 20 May 2026 14:32:17.482915] .

Scope

timestampformat is valid in the global scope.

Was this page helpful?