Project

General

Profile

Actions

Bug #4879

closed

Multiple notices cannot be filed in the same second

Added by Phillip Davis over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Logging
Target version:
Start date:
07/24/2015
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
All
Affected Architecture:

Description

file_notice() keys its entries by the Unix time() stamp that is only to the second. If the system wants to notify the user about something important (that flashes on the webGUI notices) and there are 2 or more problems in the same second then only the last call to file_notice() is displayed on the webGUI.

Actions #1

Updated by Phillip Davis over 8 years ago

https://github.com/pfsense/pfsense/pull/1782
This is one possible quick-and-dirty pragmatic way to fix this. Increment each file_notice() to the next second. If you get 10 of them in 1 second then they will be reported all as if they were a second apart over 10 seconds.

Actions #2

Updated by Chris Buechler over 8 years ago

  • Status changed from New to Feedback
  • Target version set to 2.2.5
Actions #3

Updated by Chris Buechler over 8 years ago

  • Status changed from Feedback to Resolved

fixed

Actions

Also available in: Atom PDF