aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/scheduler.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2005-11-21 11:47:06 +0000
committerMartin Willi <martin@strongswan.org>2005-11-21 11:47:06 +0000
commit3d04ddf39dd8795c3596e5bc3dac28f353917359 (patch)
treebc0a0217981f7119d0d0f1383eabe07908015ee4 /Source/charon/scheduler.c
parent885608ffa9a01ed90ec1b99d8f5f62bfdc27815d (diff)
downloadstrongswan-3d04ddf39dd8795c3596e5bc3dac28f353917359.tar.bz2
strongswan-3d04ddf39dd8795c3596e5bc3dac28f353917359.tar.xz
- fixed logging
Diffstat (limited to 'Source/charon/scheduler.c')
-rw-r--r--Source/charon/scheduler.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/charon/scheduler.c b/Source/charon/scheduler.c
index 85a816e08..6787e11ae 100644
--- a/Source/charon/scheduler.c
+++ b/Source/charon/scheduler.c
@@ -68,7 +68,7 @@ static void scheduler_thread_function(private_scheduler_t * this)
for (;;)
{
- this->logger->log(this->logger, CONTROL, "waiting for next event...");
+ this->logger->log(this->logger, CONTROL|MORE, "waiting for next event...");
/* get a job, this block until one is available */
global_event_queue->get(global_event_queue, &current_job);
/* queue the job in the job queue, workers will eat them */
@@ -99,7 +99,7 @@ scheduler_t * scheduler_create()
this->public.destroy = (status_t(*)(scheduler_t*)) destroy;
- this->logger = global_logger_manager->create_logger(global_logger_manager, SCHEDULER_THREAD, NULL);
+ this->logger = global_logger_manager->create_logger(global_logger_manager, SCHEDULER, NULL);
if (this->logger == NULL)
{
allocator_free(this);