diff options
author | Tobias Brunner <tobias@strongswan.org> | 2012-04-24 14:10:06 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2012-05-03 13:57:04 +0200 |
commit | 42500c274a0858ee27fc5d54b02b90809f2ecd87 (patch) | |
tree | b9e95d636311a08fc4639e73a4d12ab7273afc91 /src/libcharon/plugins/sql/sql_logger.c | |
parent | 18758e3d2ea173b798a827917e4f8a1f9c4bc9a2 (diff) | |
download | strongswan-42500c274a0858ee27fc5d54b02b90809f2ecd87.tar.bz2 strongswan-42500c274a0858ee27fc5d54b02b90809f2ecd87.tar.xz |
Use name from initialization to access settings in libcharon.
Also fixes several whitespace errors.
Diffstat (limited to 'src/libcharon/plugins/sql/sql_logger.c')
-rw-r--r-- | src/libcharon/plugins/sql/sql_logger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcharon/plugins/sql/sql_logger.c b/src/libcharon/plugins/sql/sql_logger.c index e7267b875..093053516 100644 --- a/src/libcharon/plugins/sql/sql_logger.c +++ b/src/libcharon/plugins/sql/sql_logger.c @@ -140,7 +140,7 @@ sql_logger_t *sql_logger_create(database_t *db) .db = db, .recursive = thread_value_create(NULL), .level = lib->settings->get_int(lib->settings, - "charon.plugins.sql.loglevel", -1), + "%s.plugins.sql.loglevel", -1, charon->name), ); return &this->public; |