mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-14 17:47:33 -05:00
New formatting directive in logfile naming: &P for port number.
Users have requested this from time to time, for distinguishing log file names when there's more than one SSH server running on different ports of the same host. Since we do take account of that possibility in other areas (e.g. we cache host keys indexed by (host,port) rather than just host), it doesn't seem unreasonable to do so here too.
This commit is contained in:
2
config.c
2
config.c
@ -1478,7 +1478,7 @@ void setup_config_box(struct controlbox *b, int midsession,
|
||||
HELPCTX(logging_filename),
|
||||
conf_filesel_handler, I(CONF_logfilename));
|
||||
ctrl_text(s, "(Log file name can contain &Y, &M, &D for date,"
|
||||
" &T for time, and &H for host name)",
|
||||
" &T for time, &H for host name, and &P for port number)",
|
||||
HELPCTX(logging_filename));
|
||||
ctrl_radiobuttons(s, "What to do if the log file already exists:", 'e', 1,
|
||||
HELPCTX(logging_exists),
|
||||
|
Reference in New Issue
Block a user