aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
authorMichael Albinus2025-08-13 17:33:37 +0200
committerMichael Albinus2025-08-13 17:33:37 +0200
commit7856dd557a76a73d44c9ae13fbe13f09becf5841 (patch)
tree4def92cd6f462b527aa62f314b79679f70924e8e /doc/misc
parent40e4394f87909f5d6c94d59cf3aced9bc65fa32a (diff)
downloademacs-7856dd557a76a73d44c9ae13fbe13f09becf5841.tar.gz
emacs-7856dd557a76a73d44c9ae13fbe13f09becf5841.zip
Limit size of Tramp debug buffer
* doc/misc/tramp.texi (Traces and Profiles): Add tramp-debug-buffer-limit to index. Describe it. * lisp/net/tramp-message.el (tramp-debug-buffer-limit): New defcustom. (tramp-debug-message): Use it. (Bug#79182)
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/tramp.texi11
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index 7fbd4f898f5..1dc616918d0 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -6830,6 +6830,7 @@ they are kept. Example:
6830@vindex tramp-verbose 6830@vindex tramp-verbose
6831@vindex tramp-debug-to-file 6831@vindex tramp-debug-to-file
6832@vindex tramp-debug-command-messages 6832@vindex tramp-debug-command-messages
6833@vindex tramp-debug-buffer-limit
6833 6834
6834@value{tramp} messages are raised with verbosity levels ranging from 0 6835@value{tramp} messages are raised with verbosity levels ranging from 0
6835to 10. @value{tramp} does not display all messages; only those with a 6836to 10. @value{tramp} does not display all messages; only those with a
@@ -6918,6 +6919,12 @@ strings), and the entry and exit messages for the function
6918@code{tramp-file-name-handler}. This is intended for @value{tramp} 6919@code{tramp-file-name-handler}. This is intended for @value{tramp}
6919maintainers, analyzing the remote commands for performance analysis. 6920maintainers, analyzing the remote commands for performance analysis.
6920 6921
6922The debug buffer can be very large, if @code{tramp-verbose} is high,
6923and @value{tramp} runs for a long time. If the buffer size exceeds
6924@code{tramp-debug-buffer-limit} (3GB by default), a warning will be
6925raised. This user option can be adapted to your needs; a value of 0
6926means that there is no limit (no warning).
6927
6921 6928
6922@node GNU Free Documentation License 6929@node GNU Free Documentation License
6923@appendix GNU Free Documentation License 6930@appendix GNU Free Documentation License
@@ -6945,7 +6952,7 @@ maintainers, analyzing the remote commands for performance analysis.
6945 6952
6946@bye 6953@bye
6947 6954
6948@c TODO 6955@c TODO:
6949@c 6956@c
6950@c * Say something about the .login and .profile files of the remote 6957@c * Say something about the .login and .profile files of the remote
6951@c shells. 6958@c shells.
@@ -6954,3 +6961,5 @@ maintainers, analyzing the remote commands for performance analysis.
6954@c host and then send commands to it. 6961@c host and then send commands to it.
6955@c 6962@c
6956@c * Consistent small or capitalized words especially in menus. 6963@c * Consistent small or capitalized words especially in menus.
6964@c
6965@c * Starting with Emacs 29, use 'setopt' in the examples.