diff options
author | Martin Willi <martin@strongswan.org> | 2005-12-07 07:57:18 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2005-12-07 07:57:18 +0000 |
commit | aee3eb529999805eac9d3edba47ca46df7946306 (patch) | |
tree | 9d048c516ff3e2fad9cc068e582e5a807490d6d6 /Source/charon/threads/scheduler.c | |
parent | a36a745a1891b6d288e94211c76059a2be25d9e0 (diff) | |
download | strongswan-aee3eb529999805eac9d3edba47ca46df7946306.tar.bz2 strongswan-aee3eb529999805eac9d3edba47ca46df7946306.tar.xz |
../svn-commit.tmp
Diffstat (limited to 'Source/charon/threads/scheduler.c')
-rw-r--r-- | Source/charon/threads/scheduler.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/charon/threads/scheduler.c b/Source/charon/threads/scheduler.c index bf19750c0..8205cfd45 100644 --- a/Source/charon/threads/scheduler.c +++ b/Source/charon/threads/scheduler.c @@ -77,12 +77,12 @@ static void get_events(private_scheduler_t * this) for (;;) { - this->logger->log(this->logger, CONTROL|MOST, "Waiting for next event..."); + this->logger->log(this->logger, CONTROL|LEVEL2, "Waiting for next event..."); /* get a job, this block until one is available */ current_job = charon->event_queue->get(charon->event_queue); /* queue the job in the job queue, workers will eat them */ charon->job_queue->add(charon->job_queue, current_job); - this->logger->log(this->logger, CONTROL | MORE, "Got event, added job %s to job-queue.", + this->logger->log(this->logger, CONTROL | LEVEL1, "Got event, added job %s to job-queue.", mapping_find(job_type_m, current_job->get_type(current_job))); } } @@ -92,11 +92,11 @@ static void get_events(private_scheduler_t * this) */ static void destroy(private_scheduler_t *this) { - this->logger->log(this->logger, CONTROL | MORE, "Going to terminate scheduler thread"); + this->logger->log(this->logger, CONTROL | LEVEL1, "Going to terminate scheduler thread"); pthread_cancel(this->assigned_thread); pthread_join(this->assigned_thread, NULL); - this->logger->log(this->logger, CONTROL | MORE, "Scheduler thread terminated"); + this->logger->log(this->logger, CONTROL | LEVEL1, "Scheduler thread terminated"); charon->logger_manager->destroy_logger(charon->logger_manager, this->logger); |