PuTTY Session Logging and Log File Growth Management
0 reputation · 22 May 2020, 09:46 UTC
Session Logging Configuration
PuTTY provides the ability to capture all session output, printable output, or SSH packets to a local file. This feature is essential for auditing and troubleshooting remote connections, particularly when capturing raw data for packet analysis.
Resource Constraints
Current logging implementations write to a single designated file for the duration of the session. Because the application lacks built-in mechanisms for automatic rotation, timestamp-based rollover, or maximum file size thresholds, long-running sessions with high data throughput can lead to unbounded file growth and potential disk exhaustion.
When managing high-volume connections, it is unclear how to implement a native boundary to prevent log files from consuming excessive storage without relying on external scripts or third-party rotation tools.
- Is there a configuration parameter to limit the maximum size of a session log file?
- Does PuTTY support a native method to split logs into multiple files based on a size or time threshold?