Project

General

Profile

Bug #27351

Turn off rolling log appender by default

Added by Lukas Zapletal 5 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Category:
Core
Target version:
-
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

It looks like TwP/logging gem's Rolling File implementation is not thread safe and it can be causing issues during reopens. Smart-proxy configures Rolling File appender and this can't be turned off. Default behavior is weekly rolling or by 100 MiB size, this patch changes it to use simple File appender and rely on logrotate which we configure by default anyway

Associated revisions

Revision 35f9d186 (diff)
Added by Lukas Zapletal 5 months ago

Fixes #27351 - don't use rolling appender by default

History

#1 Updated by The Foreman Bot 5 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/smart-proxy/pull/667 added

#2 Updated by The Foreman Bot 5 months ago

  • Fixed in Releases 1.23.0 added

#3 Updated by Anonymous 5 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF