diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2018-09-11 23:49:13 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2018-09-13 15:46:55 +0000 |
commit | 098038ab181a24d6050413a409b1bcb327d21ea6 (patch) | |
tree | bdf19b32bf965f76146a0bddfcf5613a9f8a94f4 /src/logging.c | |
parent | 7e0686c6b4b456ec4e6e15689694b1bcf96c301f (diff) |
logging vty: write: check logging levels validity
Change-Id: If683b1272ad2d5b402b91c52c496aa7975bc6315
Diffstat (limited to 'src/logging.c')
-rw-r--r-- | src/logging.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logging.c b/src/logging.c index 67470a5d..e7cc4729 100644 --- a/src/logging.c +++ b/src/logging.c @@ -63,7 +63,7 @@ static struct log_context log_context; void *tall_log_ctx = NULL; LLIST_HEAD(osmo_log_target_list); -static const struct value_string loglevel_strs[] = { +const struct value_string loglevel_strs[] = { { LOGL_DEBUG, "DEBUG" }, { LOGL_INFO, "INFO" }, { LOGL_NOTICE, "NOTICE" }, |