Re: [Asterisk-Users] Re: asterisk logger - urgent!!!

2006-02-13 Thread Simone Cittadini

Dov Bigio ha scritto:


I found the problem.
 
Master.csv reached 2.0GB and since the moment this happened Asterisk 
went crazy!
 
Since I am using cdr-mysql, how do I disable the use of csvs?
 
Thank you

Dov


Why don't you simply rotate the logs with logrotate ?
(no, I don't know how to disable them)
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Re: asterisk logger - urgent!!!

2006-02-13 Thread Alexander Lopez
You may not be able to disable the logs but if you do not care about the
information you cal always link to /dev/null

Ie

 ln -s /path/to/log/file /dev/null
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Simone Cittadini
 Sent: Monday, February 13, 2006 5:51 AM
 To: Dov Bigio; Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [Asterisk-Users] Re: asterisk logger - urgent!!!
 
 Dov Bigio ha scritto:
 
  I found the problem.
   
  Master.csv reached 2.0GB and since the moment this happened 
 Asterisk 
  went crazy!
   
  Since I am using cdr-mysql, how do I disable the use of csvs?
   
  Thank you
  Dov
 
 Why don't you simply rotate the logs with logrotate ?
 (no, I don't know how to disable them)
 ___
 --Bandwidth and Colocation provided by Easynews.com --
 
 Asterisk-Users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
 
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Re: asterisk logger - urgent!!!

2006-02-13 Thread Ron Wellsted

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, 13 Feb 2006, Simone Cittadini wrote:


Dov Bigio ha scritto:


 I found the problem.

 Master.csv reached 2.0GB and since the moment this happened Asterisk went
 crazy!

 Since I am using cdr-mysql, how do I disable the use of csvs?


In /etc/asterisk/modules.conf:
noload = cdr_csv.so

will turn off logging to the .csv file



 Thank you
 Dov


Why don't you simply rotate the logs with logrotate ?
(no, I don't know how to disable them)
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users





- -- 
Ron Wellsted

[EMAIL PROTECTED] http://www.wellsted.org.uk
N 52.567623, W 2.137621 Linux Counter No. 202120
FWD:519961
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)

iQEVAwUBQ/Ck+ktP/KMNOfRbAQLDUQf+O3Q3ajRxPx1gS9jg3JH0BpE29QUfAXVh
Dz9tNvA8VLmhXsrHy29qRQRorT8WP5W58Aph3MEx0z29REo9vrd5iYV/F0icnWJS
zPop2+ST0IKitjsqg/y2IsTnQMUaQ72mlAZn66LuMNvSf5hd8oNddvSKqmQPjm1t
YKzdyshTMYVbg2MQimZDqgBqTQbXPvD5pKR2+GjwPQ05vJ6T8Jtpvc22/Gj6yu5+
qiugxulBnMU4RG7VM/yS9USLZqjXk+34Ow9eyb/dVUc/tVy/7WLC4calgRBmWTWv
Y0G2XxfDRwvDCm+Y8zDhuSrKKjm2Zup95FAZjT2fRJo4vngcvPY67g==
=1Un6
-END PGP SIGNATURE-
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] RE: Asterisk Logger - urgent!!!

2006-02-11 Thread Michael Collins








Kevin,



I agree with your assessment of the preference of using fprintf()
instead of sprintf() + write() + maybe malloc(). After hearing your
candid explanation it makes perfect sense not to pursue this. Ive
only been playing with * for two months, so Im still gathering my
bearings. As for my C skills- I must admit that its been many
years since I did any real work with C or C++. (Ive been
side-tracked with Visual Studio projects and using Perl to get data flowing in
a very OS-heterogonous environment.) On top of that, Ive been busy
learning to use * and Im just now starting to dive into the considerable
amount of * source code.



However, I wouldnt be so quick to stifle ideas 
even bad ones. Everyone who read this thread now knows that
making * do the administrative work is not only impractical, but now they have
ample information as to _why_ it
is impractical. All ideas have some value, even if they represent how not
to do something. Besides, occasionally an idea starts out small and turns
big. After all, didnt some guy named Mark have an idea to get dial
tone out of a computer to save some money on a phone system? Who knew
that the idea of dial-tone-in-a-box would spark a telephony revolution? J



-MC






___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Re: asterisk logger - urgent!!!

2006-02-09 Thread Dov Bigio



I found the problem.

Master.csv reached 2.0GB and since the moment this 
happened Asterisk went crazy!

Since I am using cdr-mysql, how do I disable the 
use of csvs?

Thank you
Dov

  - Original Message - 
  From: 
  Dov Bigio 

  To: asterisk-users@lists.digium.com 
  
  Sent: Thursday, February 09, 2006 10:56 
  AM
  Subject: asterisk logger - 
urgent!!!
  
  Hi,
  
  Since yesterday my Asterisk 1.2.3 is displaying 
  the following message every few seconds
  
  Asterisk Event Logger 
  restartedRotated Logs Per SIGXFSZ (Exceeded file size 
  limit)
  
  This causes my log files (verbose, queue_log) to 
  become huge with lots of logger rotate messages, but I don't know which files 
  is exceeding size limit, since even if I delete all log files I still get this 
  message.
  
  Any way, I have plenty of disk space and couldn't 
  find the reason for this message.
  
  Please help me identify the 
  issue!Dov
  
  
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Re: asterisk logger - urgent!!!

2006-02-09 Thread Allan Gee



Why 
don't you log rotate them? or if you do you should do it more 
often.

Regards Allan GeePhone: +27 21 4644400 Ext. 
103www.equation.co.za

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]On Behalf Of Dov 
  BigioSent: 09 February 2006 03:26 PMTo: 
  asterisk-users@lists.digium.comSubject: [Asterisk-Users] Re: 
  asterisk logger - urgent!!!
  I found the problem.
  
  Master.csv reached 2.0GB and since the moment 
  this happened Asterisk went crazy!
  
  Since I am using cdr-mysql, how do I disable the 
  use of csvs?
  
  Thank you
  Dov
  
- Original Message - 
From: 
Dov Bigio 

To: asterisk-users@lists.digium.com 

Sent: Thursday, February 09, 2006 10:56 
AM
Subject: asterisk logger - 
urgent!!!

Hi,

Since yesterday my Asterisk 1.2.3 is displaying 
the following message every few seconds

Asterisk Event Logger 
restartedRotated Logs Per SIGXFSZ (Exceeded file size 
limit)

This causes my log files (verbose, queue_log) 
to become huge with lots of logger rotate messages, but I don't know which 
files is exceeding size limit, since even if I delete all log files I still 
get this message.

Any way, I have plenty of disk space and 
couldn't find the reason for this message.

Please help me identify the 
issue!Dov


___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Re: asterisk logger - urgent!!!

2006-02-09 Thread Olivier Perrin
Hi, 
You just have to remove cdr_csv.so module :

unload cdr_csv.so under the CLI

or add noload = cdr_csv.so in /etc/asterisk/modules.conf and reload
asterisk



--
http://www.olivier-perrin.net


Le jeudi 09 février 2006 à 11:26 -0200, Dov Bigio a écrit :
 I found the problem.
  
 Master.csv reached 2.0GB and since the moment this happened Asterisk
 went crazy!
  
 Since I am using cdr-mysql, how do I disable the use of csvs?
  
 Thank you
 Dov
 - Original Message - 
 From: Dov Bigio 
 To: asterisk-users@lists.digium.com 
 Sent: Thursday, February 09, 2006 10:56 AM
 Subject: asterisk logger - urgent!!!
 
 
 Hi,
  
 Since yesterday my Asterisk 1.2.3 is displaying the following
 message every few seconds
  
 Asterisk Event Logger restarted
 Rotated Logs Per SIGXFSZ (Exceeded file size limit)
  
 This causes my log files (verbose, queue_log) to become huge
 with lots of logger rotate messages, but I don't know which
 files is exceeding size limit, since even if I delete all log
 files I still get this message.
  
 Any way, I have plenty of disk space and couldn't find the
 reason for this message.
  
 Please help me identify the issue!
 Dov
  
  
 ___
 --Bandwidth and Colocation provided by Easynews.com --
 
 Asterisk-Users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users