Re: Using FileAcct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tamas J wrote:

Hello!

I'm thinking about using FileAcct as CDR collection. As far as I know,
there is no such thing as rotatecdr on the status interface. From source
codes (and tests) I see, that if I remove the cdr logfile, FileAcct
doesn't recognize that and tryes to log into non-existant file. What is
interesting, that it doesn't report any error, neither re-creates the
cdr logfile.
My goal would be to have CDR logging into file and processing some time
(maybe from cron), however I don't know how to make it.


I haven't tried this but cronolog may work for you. I use it to rotate my apache logs and it works great. Basically, instead of writing directly to a file it pipes through cronolog. i.e. a sample config in apache looks like this:

ErrorLog "|/usr/sbin/cronolog -S /var/log/apache2/error_log /var/log/apache2/%Y/%m/%d/error_log"

This allows me to rotate my log files daily.

http://cronolog.org/

Regards,

Chetan


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux