[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: Fix logging.
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: Fix logging. |
Date: |
Thu, 07 Feb 2019 16:23:17 +0100 |
This is an automated email from the git hooks/post-receive script.
marcello-stanisci pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new e4cfaf779 Fix logging.
e4cfaf779 is described below
commit e4cfaf779ee43f32e7c9d3f3190279e02aa05702
Author: Marcello Stanisci <address@hidden>
AuthorDate: Thu Feb 7 16:22:39 2019 +0100
Fix logging.
Give GNUNET_FORCE_LOG priority over GNUNET_LOG.
---
src/util/common_logging.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/util/common_logging.c b/src/util/common_logging.c
index ffc9a527b..c5a46d8c3 100644
--- a/src/util/common_logging.c
+++ b/src/util/common_logging.c
@@ -679,13 +679,14 @@ parse_definitions (const char *constname, int force)
static void
parse_all_definitions ()
{
- if (GNUNET_NO == gnunet_log_parsed)
- parse_definitions ("GNUNET_LOG", 0);
- gnunet_log_parsed = GNUNET_YES;
if (GNUNET_NO == gnunet_force_log_parsed)
gnunet_force_log_present =
parse_definitions ("GNUNET_FORCE_LOG", 1) > 0 ? GNUNET_YES : GNUNET_NO;
gnunet_force_log_parsed = GNUNET_YES;
+
+ if (GNUNET_NO == gnunet_log_parsed)
+ parse_definitions ("GNUNET_LOG", 0);
+ gnunet_log_parsed = GNUNET_YES;
}
#endif
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: Fix logging.,
gnunet <=