Project

General

Profile

Actions

Refactor #25896

closed

Syslog logging pattern should not include time or request id

Added by Lukas Zapletal almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Logging
Target version:
-
Difficulty:
trivial
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

The sys_pattern was created to differentiate between file appender and syslog appender:

:pattern: "%d [%.1l|%.3c|%.8X{request}] m\n" 
:sys_pattern: "[
.1l|%.3c|%.8X{request}] %m\n"

It does not make sense to have the same defaults for both, syslog should really be just %m (message itself), all the rest can be added in syslog configuration when needed.


Related issues 1 (1 open0 closed)

Related to Foreman - Tracker #22569: Unified and structured loggingAssignedLukas Zapletal

Actions
Actions

Also available in: Atom PDF