Feature domain (#2414)

* Revert "fix:log (#2396)"

This reverts commit cc2f993e

* feat: prometheus config and log
This commit is contained in:
icey-yu
2024-07-17 10:31:02 +08:00
committed by GitHub
parent 4aaf496086
commit dcc0b57382
6 changed files with 37 additions and 43 deletions
+2 -8
View File
@@ -2,14 +2,8 @@
storageLocation: ../../../../logs/
# Log rotation period (in hours), default is acceptable
rotationTime: 24
# Maximum size of each log file (in MB), default is acceptable, it means unlimited
maxSize: 0
# Number of log files to retain, default is acceptable, it means whenever the log file is rotated, the old log file will be deleted
maxBackups: 10
# Old log retain time (in days), default is acceptable, it means unlimited
maxAge: 10
# Whether compress old log files.
compress: false
# Number of log files to retain, default is acceptable
remainRotationCount: 2
# Log level settings: 3 for production environment; 6 for more verbose logging in debugging environments
remainLogLevel: 6
# Whether to output to standard output, default is acceptable