
9 Nov
2010
9 Nov
'10
6:51 p.m.
On 11/09/2010 04:57 AM, Jamie Allsop wrote:
Jamie Allsop wrote:
I think what I really want is some sort of 'id' based file rotation. In that light I suppose I could use the time_based_rotation and supply my own function that rotates based on a changing 'id'. Perhaps this could be generalised in the library to be a 'triggered_rotation' where some of the current implementations happen to be time based?
I'm not sure I understand. Do you need a way to customize the logic of detection when to rotate the log file? What is the 'id' then?