git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5f6248
)
Initialize harvester with proper logging.
author
Jiří Filipovič
<fila@ics.muni.cz>
Thu, 18 Mar 2010 13:08:32 +0000
(13:08 +0000)
committer
Jiří Filipovič
<fila@ics.muni.cz>
Thu, 18 Mar 2010 13:08:32 +0000
(13:08 +0000)
org.glite.lb.harvester/src/harvester.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.harvester/src/harvester.c
b/org.glite.lb.harvester/src/harvester.c
index
614f789
..
41f504a
100644
(file)
--- a/
org.glite.lb.harvester/src/harvester.c
+++ b/
org.glite.lb.harvester/src/harvester.c
@@
-44,6
+44,7
@@
limitations under the License.
#ifdef WITH_LBU_DB
#include <glite/lbu/trio.h>
#include <glite/lbu/db.h>
+#include <glite/lbu/log.h>
#endif
#include <glite/lb/context.h>
#ifndef WITH_OLD_LB
@@
-681,7
+682,7
@@
static int db_init(thread_t *t, glite_lbu_DBContext *dbctx) {
int err, dbcaps;
if (config.dbcs) {
- if ((err = glite_lbu_InitDBContext(dbctx, GLITE_LBU_DB_BACKEND_PSQL)) != 0) {
+ if ((err = glite_lbu_InitDBContext(dbctx, GLITE_LBU_DB_BACKEND_PSQL
, LOG_CATEGORY_LB_HARVESTER_DB
)) != 0) {
lprintf_dbctx(t, ERR, "can't initialize DB context");
return err;
}