initialize a lower logging level for logd_perf
authorJan Pospíšil <honik@ntc.zcu.cz>
Fri, 19 May 2006 19:45:33 +0000 (19:45 +0000)
committerJan Pospíšil <honik@ntc.zcu.cz>
Fri, 19 May 2006 19:45:33 +0000 (19:45 +0000)
org.glite.lb.logger/src/logd.c

index e062f90..736a00a 100644 (file)
@@ -276,7 +276,11 @@ Copyright (c) 2002 CERN, INFN and CESNET on behalf of the EU DataGrid.\n");
                        usage(argv[0]); exit(0);
        }
    }
+#ifdef LB_PERF
+   edg_wll_ll_log_init(verbose ? LOG_INFO : LOG_ERR);
+#else
    edg_wll_ll_log_init(verbose ? LOG_DEBUG : LOG_INFO);
+#endif
    edg_wll_ll_log(LOG_INFO,"Initializing...\n");
 
    /* check noParse */