Project

General

Profile

Actions

Bug #12366

closed

Rotation settings for individual log files do not take effect after saving

Added by Marcos Mendoza 8 months ago. Updated 7 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Logging
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
22.01
Release Notes:
Default
Affected Version:
2.5.2
Affected Architecture:

Description

Clicking Save for the settings on any of the specific log categories in "Status / System Logs" does not immediately apply those settings. Going to the general Status / System Logs / Settings page and clicking Save afterwards forces the individual log settings to take effect.

This was tested on 21.05 and 2.5.2 using OpenVPN (changing verbosity to 11).

General steps to reproduce:
  1. Go to Status / System Logs and click on the wrench icon for a specific log page.
  2. Change the log rotation size to 104857600.
  3. Click Save
  4. Check log sizes, e.g. ls -lh /var/log/openvpn.*
    1. Rotation still happens after default log rotation size.
  5. Click Save under Status / System Logs / Settings.
  6. Check log sizes, e.g. ls -lh /var/log/openvpn.*
    1. New rotation size now being respected.
Actions #2

Updated by Jim Pingle 8 months ago

  • Status changed from New to Pull Request Review
  • Assignee set to Viktor Gurov
  • Target version set to CE-Next
  • Plus Target Version set to 22.01
Actions #3

Updated by Viktor Gurov 7 months ago

  • Status changed from Pull Request Review to Feedback
  • % Done changed from 0 to 100
Actions #4

Updated by Kris Phillips 7 months ago

Tested this in the latest build of pfSense Plus 22.01 and it seems to properly rotate logging. Looks good.

Actions #5

Updated by Marcos Mendoza 7 months ago

  • Status changed from Feedback to Resolved
Actions #6

Updated by Jim Pingle 7 months ago

  • Target version changed from CE-Next to 2.6.0
Actions #7

Updated by Jim Pingle 7 months ago

  • Subject changed from Log rotation settings for individual log files do not take effect after clicking save. to Rotation settings for individual log files do not take effect after saving

Updating subject for release notes.

Actions

Also available in: Atom PDF