Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 953 Bytes

mod_key_log.md

File metadata and controls

39 lines (29 loc) · 953 Bytes

Introduction

ModuleKeyLog writes tls key logs in NSS key log format so that external programs(eg. wireshark) can decrypt TLS connections for trouble shooting.

For more information about NSS key log format, see: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Key_Log_Format

Module Configuration

Description

conf/mod_key_log/mod_key_log.conf

Config Item Description
Log.LogPrefix String
filename prefix for log
Log.LogDir String
directory of log files
Log.RotateWhen String
inteval to rotate log file
Log.BackupCount Integer
max number of rotated log files

Example

[Log]
# filename prefix for log 
LogPrefix = key

# log directory 
LogDir = ../log

# interval to rotate logs: M/H/D
# - M: minute
# - H: hour
# - D: day
RotateWhen = H 

# max number of rotated log files
BackupCount = 3