[cpp-log4shib] branch master updated: Add remote syslog appender alias.
Scott Cantor
cantor.2 at osu.edu
Fri Apr 20 12:51:18 EDT 2018
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch master
in repository cpp-log4shib.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-log4shib.git;a=commit;h=a0eea8bad27d8f41f019fe7ad4851340c81ec0c7
The following commit(s) were added to refs/heads/master by this push:
new a0eea8b Add remote syslog appender alias.
a0eea8b is described below
commit a0eea8bad27d8f41f019fe7ad4851340c81ec0c7
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Fri Apr 20 12:51:13 2018 -0400
Add remote syslog appender alias.
---
src/PropertyConfiguratorImpl.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PropertyConfiguratorImpl.cpp b/src/PropertyConfiguratorImpl.cpp
index 0acb81c..8372fb9 100644
--- a/src/PropertyConfiguratorImpl.cpp
+++ b/src/PropertyConfiguratorImpl.cpp
@@ -227,7 +227,7 @@ namespace log4shib {
appender = new RollingFileAppender(appenderName, fileName, maxFileSize, maxBackupIndex,
append);
}
- else if (appenderType == "SyslogAppender") {
+ else if (appenderType == "SyslogAppender" || appenderType == "RemoteSyslogAppender") {
std::string syslogName = _properties.getString(appenderPrefix + ".syslogName", "syslog");
std::string syslogHost = _properties.getString(appenderPrefix + ".syslogHost", "localhost");
int facility = _properties.getInt(appenderPrefix + ".facility", -1) * 8; // * 8 to get LOG_KERN, etc. compatible values.
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list