Project

General

Profile

Actions

Bug #12366

closed

Log rotation settings for individual log files do not take effect after clicking save.

Added by Marcos Mendoza about 1 month ago. Updated 12 days 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 about 1 month 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 14 days ago

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

Updated by Kris Phillips 13 days 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 12 days ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF