fix: 更新日志文件路径,修正sshsvc配置

This commit is contained in:
TsMask
2025-04-21 15:45:20 +08:00
parent f3b8fdca48
commit 2e6741829f
3 changed files with 5 additions and 13 deletions

View File

@@ -10,7 +10,7 @@ database:
# duration: rotation time with xx hours, example: 1/12/24 hours
# count: rotation count of log, default is 30 rotation
logger:
file: /usr/local/omc/log/restagent.log
file: /var/log/omc_restagent.log
level: warn
duration: 24
count: 90

View File

@@ -3,7 +3,7 @@
# duration: rotation time with xx hours, example: 1/12/24 hours
# count: rotation count of log, default is 30 rotation
logger:
file: /usr/local/omc/log/sshsvc.log
file: /var/log/omc_sshsvc.log
level: warn
duration: 24
count: 30
@@ -13,7 +13,7 @@ logger:
# count: rotation count of log, default is 30 rotation
# level: cmd/ret log cmd/log cmd & result
logmml:
file: /usr/local/omc/mmllog/omcmml.log
file: /var/log/omc_mml.log
duration: 24
count: 30
level: cmd
@@ -24,7 +24,7 @@ logmml:
sshd:
listenAddr: 0.0.0.0
listenPort: 32222
privateKey: /usr/local/omc/.ssh/id_rsa
privateKey: /root/.ssh/id_rsa
maxConnNum: 2
timeout: 1800
session: multiple