add LogDuration

This commit is contained in:
berlin2123
2025-03-04 16:24:46 +08:00
committed by GitHub
parent 2a7aa69890
commit c20d7dff51
6 changed files with 42 additions and 1 deletions

View File

@@ -70,6 +70,12 @@ log_max_days = 3
# disable log colors when log_file is console, default is false
disable_log_color = false
# log the duration of each connection for the connection type identified by its name
# examples,
# 'log_duration_types = ssh,rdp', it will log the duration for connection name has string 'ssh' or 'rdp'.
# 'log_duration_types = all', it will log the duration for all connections.
log_duration_types = ssh,rdp
# DetailedErrorsToClient defines whether to send the specific error (with debug info) to frpc. By default, this value is true.
detailed_errors_to_client = true