remove the unneeded patches
[openwrt/svn-archive/archive.git] / utils / rrdcollect / patches / 002-loglevel.patch
1 diff -urN rrdcollect-0.2.3.old/src/rrdcollect.c rrdcollect-0.2.3/src/rrdcollect.c
2 --- rrdcollect-0.2.3.old/src/rrdcollect.c 2007-06-06 12:06:01.000000000 -0400
3 +++ rrdcollect-0.2.3/src/rrdcollect.c 2007-06-06 12:07:05.000000000 -0400
4 @@ -58,7 +58,7 @@
5 const char *workdir = NULL;
6 int step = 60;
7 int debugoutput = OUTPUT_SYSLOG;
8 -int debuglevel = LOG_DEBUG; /* from syslog.h */
9 +int debuglevel = LOG_NOTICE; /* from syslog.h */
10 /* FIXME - it should be default LOG_NOTICE or LOG_WARNING, but first
11 option for change it should be added */
12
13 @@ -160,7 +160,7 @@
14 {
15 optind = opterr = 0;
16
17 - send_log(LOG_DEBUG,"rrdlib_update(%i,'%s')",argc,*argv);
18 + /* send_log(LOG_DEBUG,"rrdlib_update(%i,'%s')",argc,*argv); */
19 rrd_update(argc, argv);
20
21 if (rrd_test_error()) {
22 @@ -479,7 +479,7 @@
23 setitimer(ITIMER_REAL, &period, NULL);
24
25 for (;;) {
26 - send_log(LOG_DEBUG,"tick");
27 + /* send_log(LOG_DEBUG,"tick"); */
28 if (action_request) {
29 switch (action_request) {
30 case SIGINT: