gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-bank] 07/09: default log level = warning


From: gnunet
Subject: [GNUnet-SVN] [taler-bank] 07/09: default log level = warning
Date: Tue, 05 Dec 2017 13:21:49 +0100

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository bank.

commit 91da3bb73a36ddadb9562a85b81d9f4946741978
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Dec 5 12:52:07 2017 +0100

    default log level = warning
---
 talerbank/__init__.py      | 2 +-
 talerbank/app/tests_alt.py | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/talerbank/__init__.py b/talerbank/__init__.py
index 914d55d..ca35fb3 100644
--- a/talerbank/__init__.py
+++ b/talerbank/__init__.py
@@ -2,7 +2,7 @@ import logging
 
 LOG_CONF = {
     'format': '%(asctime)-15s %(module)s %(levelname)s %(message)s',
-    'level': logging.INFO
+    'level': logging.WARNING
 }
 
 logging.basicConfig(**LOG_CONF)
diff --git a/talerbank/app/tests_alt.py b/talerbank/app/tests_alt.py
index 33627ec..423ebb4 100644
--- a/talerbank/app/tests_alt.py
+++ b/talerbank/app/tests_alt.py
@@ -13,10 +13,15 @@
 #  TALER; see the file COPYING.  If not, see <http://www.gnu.org/licenses/>
 #
 #  @author Marcello Stanisci
+
+import logging
 from django.test import TestCase
 from django.conf import settings
 from .amount import Amount, BadFormatAmount
 
+LOGGER = logging.getLogger()
+LOGGER.setLevel(logging.WARNING)
+
 class BadMaxDebtOptionTestCase(TestCase):
     def test_badmaxdebtoption(self):
         with self.assertRaises(BadFormatAmount):

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]