[Asterisk-bugs] [Asterisk 0007303]: [patch][post 1.4] cdr_csv log files splitting
noreply at bugs.digium.com
noreply at bugs.digium.com
Fri Jul 6 14:14:47 CDT 2007
The following issue has been CLOSED
======================================================================
http://bugs.digium.com/view.php?id=7303
======================================================================
Reported By: sb
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 7303
Category: CDR/cdr_csv
Reproducibility: N/A
Severity: feature
Priority: normal
Status: closed
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 33812
Disclaimer on File?: Yes
Request Review:
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 06-07-2006 02:52 CDT
Last Modified: 07-06-2007 14:14 CDT
======================================================================
Summary: [patch][post 1.4] cdr_csv log files splitting
Description:
Added two options in cdr.conf:
[csv]
;hourly - filename format: yyyy-mm-dd-hour-hh.csv
;daily - filename format: yyyy-mm-dd.csv
;weekly - filename format: yyyy-mm-week-ww.csv
;monthly - filename format: yyyy-mm.csv
;if not set, Master.csv is used by default
splitmode=daily
;write separate cdr_csv log files for each accountcode (default - yes)
separatelogs=no
======================================================================
----------------------------------------------------------------------
murf - 07-06-07 14:14
----------------------------------------------------------------------
sb-- I really don't want to get you upset or anything, but I have some
reservations about this enhancement. First of all, there are several
backends, and this patch only applies to one. On the other hand, there is
only one other backend to a text file, and that would be cdr_custom. I'm
sure it would be trivial to apply this patch to cdr_custom also... My next
reservation is that this could fairly easily be done by a fairly simple
script or two, to generate a set of files for any field, sorting all CDR's
into one of the files based on a field value. I'd probably be tempted to
hit it with gawk or perl or something.
Anyway, I'm just not convinced that there's enough support for this... I'm
going to close it for now, but if you can drum up maybe 4-5 other
developers that want it, too, let's re-open and commit this, I'll even
apply it cdr_custom for you, in that case. OK?
Issue History
Date Modified Username Field Change
======================================================================
07-06-07 14:14 murf Status ready for testing =>
closed
07-06-07 14:14 murf Note Added: 0066627
======================================================================
More information about the Asterisk-bugs
mailing list