This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Log4cpp Git repository.".
The branch, master has been updated
via c209a977e66702678feda52cbf8b2125532d4799 (commit)
via 130218667ec028c74906b1e9448972e64128d69a (commit)
via d5b7452328bcd9a546188b95229f5fd958c5d6ba (commit)
from 1538197ad8a0c65e63c42d4a63cdadf00982c747 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceforge.net/p/log4cpp/codegit/ci/
commit c209a977e66702678feda52cbf8b2125532d4799
Author: Alexander Perepelkin <san...@us...>
Date: Tue Aug 2 22:43:45 2016 +0400
bug-141: conservative fix
diff --git a/src/PropertyConfiguratorImpl.cpp b/src/PropertyConfiguratorImpl.cpp
index d9fec49..a8db7c9 100644
--- a/src/PropertyConfiguratorImpl.cpp
+++ b/src/PropertyConfiguratorImpl.cpp
@@ -166,7 +166,12 @@ namespace log4cpp {
}
}
- category.setPriority(priority);
+ try {
+ category.setPriority(priority);
+ } catch (std::invalid_argument& e) {
+ throw ConfigureFailure(std::string(e.what()) +
+ " for category '" + categoryName + "'");
+ }
bool additive = _properties.getBool("additivity." + categoryName, true);
category.setAdditivity(additive);
http://sourceforge.net/p/log4cpp/codegit/ci/
commit c209a977e66702678feda52cbf8b2125532d4799
Author: Alexander Perepelkin <san...@us...>
Date: Tue Aug 2 22:43:45 2016 +0400
bug-141: conservative fix
diff --git a/src/PropertyConfiguratorImpl.cpp b/src/PropertyConfiguratorImpl.cpp
index d9fec49..a8db7c9 100644
--- a/src/PropertyConfiguratorImpl.cpp
+++ b/src/PropertyConfiguratorImpl.cpp
@@ -166,7 +166,12 @@ namespace log4cpp {
}
}
- category.setPriority(priority);
+ try {
+ category.setPriority(priority);
+ } catch (std::invalid_argument& e) {
+ throw ConfigureFailure(std::string(e.what()) +
+ " for category '" + categoryName + "'");
+ }
bool additive = _properties.getBool("additivity." + categoryName, true);
category.setAdditivity(additive);
http://sourceforge.net/p/log4cpp/codegit/ci/
commit c209a977e66702678feda52cbf8b2125532d4799
Author: Alexander Perepelkin <san...@us...>
Date: Tue Aug 2 22:43:45 2016 +0400
bug-141: conservative fix
diff --git a/src/PropertyConfiguratorImpl.cpp b/src/PropertyConfiguratorImpl.cpp
index d9fec49..a8db7c9 100644
--- a/src/PropertyConfiguratorImpl.cpp
+++ b/src/PropertyConfiguratorImpl.cpp
@@ -166,7 +166,12 @@ namespace log4cpp {
}
}
- category.setPriority(priority);
+ try {
+ category.setPriority(priority);
+ } catch (std::invalid_argument& e) {
+ throw ConfigureFailure(std::string(e.what()) +
+ " for category '" + categoryName + "'");
+ }
bool additive = _properties.getBool("additivity." + categoryName, true);
category.setAdditivity(additive);
-----------------------------------------------------------------------
Summary of changes:
src/PatternLayout.cpp | 3 +++
src/PropertyConfiguratorImpl.cpp | 7 ++++++-
src/RollingFileAppender.cpp | 2 +-
3 files changed, 10 insertions(+), 2 deletions(-)
hooks/post-receive
--
Log4cpp Git repository.
|