aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/sledjchisl/sledjchisl.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/sledjchisl/sledjchisl.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c
index 9297772..6224e70 100644
--- a/src/sledjchisl/sledjchisl.c
+++ b/src/sledjchisl/sledjchisl.c
@@ -486,7 +486,7 @@ int newbieTimeOut = 30;
486float loadAverageInc = 0.7; 486float loadAverageInc = 0.7;
487int simTimeOut = 45; 487int simTimeOut = 45;
488int bulkSims = 0; 488int bulkSims = 0;
489boolean DEBUG = TRUE; 489boolean DEBUG = FALSE;
490qhashtbl_t *mimeTypes; 490qhashtbl_t *mimeTypes;
491qlist_t *dbRequests; 491qlist_t *dbRequests;
492 492
@@ -523,6 +523,9 @@ void logMe(int v, char *format, ...)
523 time_t curtime; 523 time_t curtime;
524 char date[DATE_TIME_LEN]; 524 char date[DATE_TIME_LEN];
525 525
526 if ((!DEBUG) && (4 < v))
527 return;
528
526 va_start(va, format); 529 va_start(va, format);
527 va_copy(va2, va); 530 va_copy(va2, va);
528 // How long is it? 531 // How long is it?
@@ -6848,7 +6851,7 @@ jit library is loaded or the JIT compiler will not be activated.
6848 } 6851 }
6849 } 6852 }
6850 DEBUG = configs->getint(configs, "debug"); 6853 DEBUG = configs->getint(configs, "debug");
6851 D("Setting DEBUG = %d", DEBUG); 6854 I("Setting DEBUG = %d", DEBUG);
6852 if ((vd = configs->get (configs, "loadAverageInc", NULL, false)) != NULL) {loadAverageInc = *((float *) vd); D("Setting loadAverageInc = %f", loadAverageInc);} 6855 if ((vd = configs->get (configs, "loadAverageInc", NULL, false)) != NULL) {loadAverageInc = *((float *) vd); D("Setting loadAverageInc = %f", loadAverageInc);}
6853 if ((vd = configs->get (configs, "simTimeOut", NULL, false)) != NULL) {simTimeOut = (int) *((float *) vd); D("Setting simTimeOut = %d", simTimeOut);} 6856 if ((vd = configs->get (configs, "simTimeOut", NULL, false)) != NULL) {simTimeOut = (int) *((float *) vd); D("Setting simTimeOut = %d", simTimeOut);}
6854 if ((vd = configs->get (configs, "bulkSims", NULL, false)) != NULL) {bulkSims = (int) *((float *) vd); D("Setting bulkSims = %d", bulkSims);} 6857 if ((vd = configs->get (configs, "bulkSims", NULL, false)) != NULL) {bulkSims = (int) *((float *) vd); D("Setting bulkSims = %d", bulkSims);}