diff options
author | Dumitru Ceara <dceara@redhat.com> | 2022-06-24 11:55:58 +0200 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2022-06-28 13:45:36 +0200 |
commit | a9ec4e3be3be8d0a6e2e0b4571d94b045cf671c6 (patch) | |
tree | 76fae3770b6da9b704c0f1972958c8a8be12cc93 /ovsdb/ovsdb-server.1.in | |
parent | c558f9f1e131e8d97cbf46bfd69aa2880ec4893d (diff) | |
download | openvswitch-a9ec4e3be3be8d0a6e2e0b4571d94b045cf671c6.tar.gz |
ovsdb-server: Log database transactions for user requested tables.
Add a new command, 'ovsdb-server/tlog-set DB:TABLE on|off', which
allows the user to enable/disable transaction logging for specific
databases and tables.
By default, logging is disabled. Once enabled, logs are generated
with level INFO and are also rate limited.
If used with care, this command can be useful in analyzing production
deployment performance issues, allowing the user to pin point
bottlenecks without the need to enable wider debug logs, e.g., jsonrpc.
A command to inspect the logging state is also added:
'ovsdb-server/tlog-list'.
Signed-off-by: Dumitru Ceara <dceara@redhat.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'ovsdb/ovsdb-server.1.in')
-rw-r--r-- | ovsdb/ovsdb-server.1.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ovsdb/ovsdb-server.1.in b/ovsdb/ovsdb-server.1.in index dac0f02cb..da7a6fd5d 100644 --- a/ovsdb/ovsdb-server.1.in +++ b/ovsdb/ovsdb-server.1.in @@ -273,6 +273,13 @@ again (with \fBovsdb\-server/add\-db\fR). Outputs a list of the currently configured databases added either through the command line or through the \fBovsdb\-server/add\-db\fR command. . +.IP "\fBovsdb\-server/tlog\-set \fIdatabase\fR:\fItable\fR \fIon\fR|\fIoff\fR" +Enables or disables logging of all operations executed on the specified +database and table. Logs are generated at INFO level and are rate limtied. +. +.IP "\fBovsdb\-server/tlog\-list" +Displays the logging state for all currently configured databases and tables. +. .SS "Active-Backup Commands" .PP These commands query and update the role of \fBovsdb\-server\fR within |