From: Sebastian Harl Date: Sat, 28 Jun 2014 07:36:31 +0000 (+0200) Subject: plugin: Use multiple log entries when logging plugin information. X-Git-Tag: sysdb-0.2.0~21 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c460163d13ccecdaf71ff5fc0fea802bf4360dc5;p=sysdb.git plugin: Use multiple log entries when logging plugin information. … instead of using a multi-line log entry (which is ugly). --- diff --git a/src/core/plugin.c b/src/core/plugin.c index 0e87ce5..36f80f6 100644 --- a/src/core/plugin.c +++ b/src/core/plugin.c @@ -520,9 +520,11 @@ module_load(const char *basedir, const char *name, sdb_llist_append(all_plugins, SDB_OBJ(ctx)); sdb_log(SDB_LOG_INFO, "core: Successfully loaded " - "plugin '%s' v%i (%s)\n\t%s\n\tLicense: %s", - ctx->info.plugin_name, ctx->info.plugin_version, - INFO_GET(&ctx->info, description), + "plugin %s v%i (%s)", ctx->info.plugin_name, + ctx->info.plugin_version, + INFO_GET(&ctx->info, description)); + sdb_log(SDB_LOG_INFO, "core: Plugin %s: %s, License: %s", + ctx->info.plugin_name, INFO_GET(&ctx->info, copyright), INFO_GET(&ctx->info, license));