utils/log: support max days of keeping log files

This commit is contained in:
fatedier
2016-05-03 21:41:57 +08:00
parent d7797cbd18
commit c10321ead6
8 changed files with 25 additions and 10 deletions

View File

@@ -6,6 +6,7 @@ server_port = 7000
log_file = ./frpc.log
# debug, info, warn, error
log_level = info
log_max_days = 3
# for authentication
auth_token = 123

View File

@@ -8,6 +8,7 @@ vhost_http_port = 80
log_file = ./frps.log
# debug, info, warn, error
log_level = info
log_max_days = 3
# ssh is the proxy name, client will use this name and auth_token to connect to server
[ssh]