Project

General

Profile

Bug #4879

Multiple notices cannot be filed in the same second

Added by Phillip Davis over 4 years ago. Updated about 4 years ago.

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

0%

Estimated time:
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.

History

#1 Updated by Phillip Davis over 4 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.

#2 Updated by Chris Buechler about 4 years ago

  • Status changed from New to Feedback
  • Target version set to 2.2.5

#3 Updated by Chris Buechler about 4 years ago

  • Status changed from Feedback to Resolved

fixed

Also available in: Atom PDF