PacketFence - BTS - PacketFence
View Issue Details
0000748PacketFencecorepublic2009-07-14 14:092012-02-29 10:45
obilodeau 
fgaudreault 
normalfeatureN/A
closedfixed 
 
2.2.02.2.0 
ad71cbac120cc03d18ffa638666ce93631a8b6a9
0000748: have Log4perl reload the log.conf config file each minute
this 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 [^]
Code Review
patch log4perl.patch (4,162) 2011-03-10 16:44
https://www.packetfence.org/bugs/file_download.php?file_id=68&type=bug
patch log4perl_v2.patch (5,108) 2011-03-17 14:35
https://www.packetfence.org/bugs/file_download.php?file_id=77&type=bug
Issue History
2009-07-14 14:09obilodeauNew Issue
2009-08-19 15:55obilodeauStatusnew => assigned
2009-08-19 15:55obilodeauAssigned To => obilodeau
2010-05-05 09:57obilodeauNote Added: 0001546
2010-05-05 09:57obilodeauCategoryfuture => feature
2010-05-05 09:57obilodeauTarget Version => 1.9.0
2010-06-30 16:15obilodeauNote Added: 0001589
2010-06-30 16:15obilodeauTarget Version1.9.0 => 1.10.0
2010-11-19 14:25obilodeauTarget Version1.10.0 => 2.0.0
2011-01-18 09:30obilodeauTarget Version2.0.0 => 2.1.0
2011-03-03 15:16obilodeauTarget Version2.1.0 => +1
2011-03-03 15:18obilodeauTarget Version+1 => +2
2011-03-10 16:28fgaudreaultNote Added: 0001914
2011-03-10 16:31fgaudreaultFile Added: log4perl.patch
2011-03-10 16:44fgaudreaultFile Deleted: log4perl.patch
2011-03-10 16:44fgaudreaultFile Added: log4perl.patch
2011-03-10 17:15fgaudreaultNote Added: 0001915
2011-03-14 16:28obilodeauAssigned Toobilodeau => fgaudreault
2011-03-14 16:29obilodeauNote Added: 0001921
2011-03-17 14:34fgaudreaultNote Added: 0001937
2011-03-17 14:35fgaudreaultFile Added: log4perl_v2.patch
2011-03-22 11:26fgaudreaultTag Attached: Code Review
2011-03-22 12:06fgaudreaultStatusassigned => feedback
2011-05-02 18:42obilodeaumtn revision => ad71cbac120cc03d18ffa638666ce93631a8b6a9
2011-05-02 18:42obilodeauNote Added: 0002050
2011-05-02 18:42obilodeauStatusfeedback => resolved
2011-05-02 18:42obilodeauFixed in Version => trunk
2011-05-02 18:42obilodeauResolutionopen => fixed
2011-05-04 11:33obilodeauFixed in Versiontrunk => 2.2.0
2011-05-04 11:40obilodeauStatusresolved => closed
2011-10-25 09:05obilodeauTarget Version+2 => 2.2.0
2012-02-29 10:45obilodeauCategoryfeature => core

Notes
(0001546)
obilodeau   
2010-05-05 09:57   
well, in the daemons (pfsetvlan, pfmon, pfdetect, ...)
(0001589)
obilodeau   
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   
2011-03-10 16:28   
Please Test this patch. I changed the daemons init() to init_and_watch() with a 60sec timer.
(0001915)
fgaudreault   
2011-03-10 17:15   
Basic tests in dev were positive.
(0001921)
obilodeau   
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   
2011-03-17 14:34   
Uploaded log4perl_v2 patch. It includes the proposed changes.
(0002050)
obilodeau   
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).