- first attempt for connection loading and starting via "stroke"
- some improvements here and there
This commit is contained in:
@@ -22,7 +22,8 @@
|
||||
|
||||
|
||||
#include "logger_manager.h"
|
||||
|
||||
|
||||
#include <daemon.h>
|
||||
#include <definitions.h>
|
||||
#include <utils/allocator.h>
|
||||
#include <utils/linked_list.h>
|
||||
@@ -160,11 +161,11 @@ static logger_t *create_logger(private_logger_manager_t *this, logger_context_t
|
||||
context_name = mapping_find(logger_context_t_mappings,context);
|
||||
|
||||
/* output to stdout, since we are debugging all days */
|
||||
output = stdout;
|
||||
output = LOG_OUTPUT;
|
||||
|
||||
/* defaults */
|
||||
log_thread_ids = FALSE;
|
||||
logger_level = this->public.get_logger_level(&(this->public),context);;
|
||||
logger_level = this->public.get_logger_level(&(this->public),context);
|
||||
|
||||
switch(context)
|
||||
{
|
||||
|
||||
@@ -69,6 +69,12 @@ typedef struct logger_manager_t logger_manager_t;
|
||||
*
|
||||
* @see logger_t
|
||||
*
|
||||
* @todo We currently give out a new instance for every logger requested.
|
||||
* This is unnecessary. One logger for each class would be sufficient.
|
||||
*
|
||||
* @todo We could remove logger naming (additional to classes), since we have
|
||||
* never used it (and probably never will).
|
||||
*
|
||||
* @ingroup utils
|
||||
*/
|
||||
struct logger_manager_t {
|
||||
|
||||
Reference in New Issue
Block a user