From: <log...@li...> - 2016-10-18 19:38:34
|
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, log4cpp-patch-45 has been updated via 81786dddd1daf6ed2420e15c0fb142db627dad37 (commit) via 79c3124043356971367fb13e1abb8f542972e944 (commit) from 544f6a2c0e19c566abf39dab5a27201bff212d32 (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); ----------------------------------------------------------------------- Summary of changes: src/PThreads.cpp | 1 - src/Properties.cpp | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) hooks/post-receive -- Log4cpp Git repository. |