Project

General

Profile

Actions

Bug #12366

closed

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

Added by Marcos M over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Viktor Gurov
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

Also available in: Atom PDF