wlog/journald: don't set a default identifier

Don't set the identifier to "winpr" as default value because journald
will use the programs name as default if no identifier is set.
This way a program using WLog doesn't need to set an identifier (except
it want something different then it's name).
This commit is contained in:
Bernhard Miklautz 2015-11-10 13:40:52 +01:00
parent 34c707304b
commit be0845b46c

View File

@ -196,12 +196,6 @@ wLogAppender* WLog_JournaldAppender_New(wLog* log)
if (!WLog_JournaldAppender_Open(log, (wLogAppender *)appender))
goto error_open;
}
else
{
appender->identifier = _strdup("winpr");
if (!appender->identifier)
goto error_env_malloc;
}
return (wLogAppender *)appender;