lib: change command logging to be off by default
* lib/vty.c: add 'log_command' to enable logging of vty commands executed.
Default command logging to off.
diff --git a/doc/basic.texi b/doc/basic.texi
index 0f7bec9..4485665 100644
--- a/doc/basic.texi
+++ b/doc/basic.texi
@@ -185,6 +185,13 @@
millisecond accuracy.
@end deffn
+@deffn Command {log commands} {}
+This command enables the logging of all commands typed by a user to
+all enabled log destinations. The note that logging includes full
+command lines, including passwords. Once set, command logging can only
+be turned off by restarting the daemon.
+@end deffn
+
@deffn Command {service password-encryption} {}
Encrypt password.
@end deffn