Skip to content

Commit fa1edaa

Browse files
Add short_file_name placeholder to logging configuration options (#6226) (#6254)
(cherry picked from commit a6b0ba7) Signed-off-by: Tony Najjar <tony.najjar@dexory.com> Co-authored-by: Tony Najjar <tony.najjar@dexory.com>
1 parent ebd3b11 commit fa1edaa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/Concepts/Intermediate/About-Logging.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ For each of the environment settings, note that this is a process-wide setting,
120120
* ``{message}`` - The log message (may be empty).
121121
* ``{function_name}`` - The function name this was called from (may be empty).
122122
* ``{file_name}`` - The file name this was called from (may be empty).
123+
* ``{short_file_name}`` - The file name without the directory path (basename only) this was called from (may be empty).
123124
* ``{time}`` - The time in seconds since the epoch.
124125
* ``{time_as_nanoseconds}`` - The time in nanoseconds since the epoch.
125126
* ``{date_time_with_ms}`` - The time in ISO format, e.g. ``2024-06-11 09:29:19.304``

0 commit comments

Comments
 (0)