#541 Non-core logging sinks miss startup messages

Reporter MattJ
Owner MattJ
Stars ★ (1)
  • Status-Fixed
  • Milestone-0.12
  • Type-Defect
  • Priority-Medium
  1. MattJ on

    When only a log destination is selected that is not built-in (e.g. file, console) then log messages that occur before the module providing the logging sink do not go anywhere. This is noticeable when only syslog logging is enabled, for example. Messages logged before mod_posix loads are not recorded. A possible fix is to prioritize the module selected for logging (probably we would have to switch to e.g. a mod_log_syslog name format), and ensure it loads before anything else. Or to buffer messages from startup until the logging sink is ready.

  2. MattJ on

    Looked at various solutions for this issue. Ultimately decided to only support in-core log sinks. Therefore moved syslog sink from mod_posix to loggingmanager in 1460c4966262.

    • owner MattJ
    • tags Milestone-0.12 Status-Fixed
  3. Zash on

    Were we going to deprecated non-core sinks or is it enough to list this problem in the docs?

New comment

Not published. Used for spam prevention and optional update notifications.