PacketFence - BTS - PacketFence
View Issue Details
0000978PacketFenceerror-handlingpublic2010-05-05 10:092015-02-13 15:24
obilodeau 
obilodeau 
normalfeatureN/A
closedopen 
 
 
0000978: add a restart reason to packetfence's `pfcmd service`
Let me give an example:
I want to know if the daemon restarted because of logrotation, the watchdog or because of a manual restart.

With a restart reason field on the CLI, we could log that string into logs/packetfence.log directly as a restart reason.

This way, in our logrotate script we do a bin/pfcmd service pf restart 'log rotation', in our watchdog, 'restarted by watchdog', etc. So when an entry is empty, we assume user restart.
No tags attached.
Issue History
2010-05-05 10:09obilodeauNew Issue
2010-05-05 10:09obilodeauStatusnew => assigned
2010-05-05 10:09obilodeauAssigned To => obilodeau
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
2015-02-13 15:24lmunroNote Added: 0003681
2015-02-13 15:24lmunroStatusassigned => closed

Notes
(0003681)
lmunro   
2015-02-13 15:24   
These issues are too old to still be relevant.

Let's start anew.