Skip to content

Commit

Permalink
Change category of messages in worker routine to devel
Browse files Browse the repository at this point in the history
These messages are not important from OVAL content point of view.
We should put them to devel level to improve readability of log.
  • Loading branch information
jan-cerny committed Nov 26, 2015
1 parent f4469d2 commit 5841021
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/OVAL/probes/probe/worker.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ void *probe_worker_runfn(void *arg)
SEXP_t *probe_res, *obj, *oid;
int probe_ret;

dI("handling SEAP message ID %u\n", pair->pth->sid);
dD("handling SEAP message ID %u\n", pair->pth->sid);
//
probe_ret = -1;
probe_res = pair->pth->msg_handler(pair->probe, pair->pth->msg, &probe_ret);
//
dI("handler result = %p, return code = %d\n", probe_res, probe_ret);
dD("handler result = %p, return code = %d\n", probe_res, probe_ret);

/* Assuming that the red-black tree API is doing locking for us... */
if (rbt_i32_del(pair->probe->workers, pair->pth->sid, NULL) != 0) {
Expand All @@ -71,7 +71,7 @@ void *probe_worker_runfn(void *arg)
} else {
SEXP_t *items;

dI("probe thread deleted\n");
dD("probe thread deleted\n");

obj = SEAP_msg_get(pair->pth->msg);
oid = probe_obj_getattrval(obj, "id");
Expand Down

0 comments on commit 5841021

Please sign in to comment.