PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000748PacketFencecorepublic2009-07-14 14:092012-02-29 10:45
Reporterobilodeau 
Assigned Tofgaudreault 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version2.2.0Fixed in Version2.2.0 
Summary0000748: have Log4perl reload the log.conf config file each minute
Descriptionthis will allow to change logging level without having to restart packetfence which will ease debugging in a production environment

it just makes the world a better place

http://www.perl.com/pub/a/2002/09/11/log4perl.html?page=3 [^]
TagsCode Review
fixed in git revision
fixed in mtn revisionad71cbac120cc03d18ffa638666ce93631a8b6a9
Attached Filespatch file icon log4perl.patch [^] (4,162 bytes) 2011-03-10 16:44 [Show Content]
patch file icon log4perl_v2.patch [^] (5,108 bytes) 2011-03-17 14:35 [Show Content]

- Relationships

-  Notes
(0001546)
obilodeau (reporter)
2010-05-05 09:57

well, in the daemons (pfsetvlan, pfmon, pfdetect, ...)
(0001589)
obilodeau (reporter)
2010-06-30 16:15

re-targeted. because of potential impact. This should be done early in a cycle so we can release a snapshot with the feature activated, etc.
(0001914)
fgaudreault (viewer)
2011-03-10 16:28

Please Test this patch. I changed the daemons init() to init_and_watch() with a 60sec timer.
(0001915)
fgaudreault (viewer)
2011-03-10 17:15

Basic tests in dev were positive.
(0001921)
obilodeau (reporter)
2011-03-14 16:29

patch needs to be re-worked:
- extract magic 60 into a constant in pf::config
- as discussed change default 60 to 60 * 5
(0001937)
fgaudreault (viewer)
2011-03-17 14:34

Uploaded log4perl_v2 patch. It includes the proposed changes.
(0002050)
obilodeau (reporter)
2011-05-02 18:42

fix committed in trunk. It needed modifications since pfmon wasn't building properly after the patch (relying on a pf::config parameter before pf::config was imported).

- Issue History
Date Modified Username Field Change
2009-07-14 14:09 obilodeau New Issue
2009-08-19 15:55 obilodeau Status new => assigned
2009-08-19 15:55 obilodeau Assigned To => obilodeau
2010-05-05 09:57 obilodeau Note Added: 0001546
2010-05-05 09:57 obilodeau Category future => feature
2010-05-05 09:57 obilodeau Target Version => 1.9.0
2010-06-30 16:15 obilodeau Note Added: 0001589
2010-06-30 16:15 obilodeau Target Version 1.9.0 => 1.10.0
2010-11-19 14:25 obilodeau Target Version 1.10.0 => 2.0.0
2011-01-18 09:30 obilodeau Target Version 2.0.0 => 2.1.0
2011-03-03 15:16 obilodeau Target Version 2.1.0 => +1
2011-03-03 15:18 obilodeau Target Version +1 => +2
2011-03-10 16:28 fgaudreault Note Added: 0001914
2011-03-10 16:31 fgaudreault File Added: log4perl.patch
2011-03-10 16:44 fgaudreault File Deleted: log4perl.patch
2011-03-10 16:44 fgaudreault File Added: log4perl.patch
2011-03-10 17:15 fgaudreault Note Added: 0001915
2011-03-14 16:28 obilodeau Assigned To obilodeau => fgaudreault
2011-03-14 16:29 obilodeau Note Added: 0001921
2011-03-17 14:34 fgaudreault Note Added: 0001937
2011-03-17 14:35 fgaudreault File Added: log4perl_v2.patch
2011-03-22 11:26 fgaudreault Tag Attached: Code Review
2011-03-22 12:06 fgaudreault Status assigned => feedback
2011-05-02 18:42 obilodeau mtn revision => ad71cbac120cc03d18ffa638666ce93631a8b6a9
2011-05-02 18:42 obilodeau Note Added: 0002050
2011-05-02 18:42 obilodeau Status feedback => resolved
2011-05-02 18:42 obilodeau Fixed in Version => trunk
2011-05-02 18:42 obilodeau Resolution open => fixed
2011-05-04 11:33 obilodeau Fixed in Version trunk => 2.2.0
2011-05-04 11:40 obilodeau Status resolved => closed
2011-10-25 09:05 obilodeau Target Version +2 => 2.2.0
2012-02-29 10:45 obilodeau Category feature => core


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker