diff options
author | Ansis Atteka <aatteka@nicira.com> | 2015-06-13 13:28:02 -0700 |
---|---|---|
committer | Ansis Atteka <aatteka@nicira.com> | 2015-06-27 12:38:33 -0700 |
commit | 532e1463fcfb71738316a86420ae4fcb07b56ac3 (patch) | |
tree | 7710bfdd2343ba7d889d0aa5817aa85c14661077 /include/openvswitch/vlog.h | |
parent | fe089c0d1e180c37a89167728c7cb5ac31867f23 (diff) | |
download | openvswitch-532e1463fcfb71738316a86420ae4fcb07b56ac3.tar.gz |
vlog: add "vlog/list-pattern" command
This patch allows to query logging format at the runtime for each destination
with "vlog/list-pattern" command.
Signed-off-by: Ansis Atteka <aatteka@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'include/openvswitch/vlog.h')
-rw-r--r-- | include/openvswitch/vlog.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openvswitch/vlog.h b/include/openvswitch/vlog.h index f2fedae31..f6bb3abdd 100644 --- a/include/openvswitch/vlog.h +++ b/include/openvswitch/vlog.h @@ -133,6 +133,7 @@ void vlog_set_levels(struct vlog_module *, char *vlog_set_levels_from_string(const char *) OVS_WARN_UNUSED_RESULT; void vlog_set_levels_from_string_assert(const char *); char *vlog_get_levels(void); +char *vlog_get_patterns(void); bool vlog_is_enabled(const struct vlog_module *, enum vlog_level); bool vlog_should_drop(const struct vlog_module *, enum vlog_level, struct vlog_rate_limit *); |