feat: optimize openim reset code

pull/1992/head
Xinwei Xiong (cubxxw) 2 years ago
parent b99185bb84
commit 7b39b73318

@ -66,6 +66,7 @@ run:
- "mocks/" - "mocks/"
- ".github/" - ".github/"
- "logs/" - "logs/"
- "_output/"
- "components/" - "components/"
# by default isn't set. If set we pass it to "go list -mod={option}". From "go help modules": # by default isn't set. If set we pass it to "go list -mod={option}". From "go help modules":

@ -449,7 +449,7 @@ This section involves configuring the log settings, including storage location,
| Parameter | Example Value | Description | | Parameter | Example Value | Description |
| ------------------------- | ------------------------ | --------------------------------- | | ------------------------- | ------------------------ | --------------------------------- |
| LOG_STORAGE_LOCATION | "${OPENIM_ROOT}/logs/" | Location for storing logs | | LOG_STORAGE_LOCATION | "${OPENIM_ROOT}/_output/logs/" | Location for storing logs |
| LOG_ROTATION_TIME | "24" | Log rotation time (in hours) | | LOG_ROTATION_TIME | "24" | Log rotation time (in hours) |
| LOG_REMAIN_ROTATION_COUNT | "2" | Number of log rotations to retain | | LOG_REMAIN_ROTATION_COUNT | "2" | Number of log rotations to retain |
| LOG_REMAIN_LOG_LEVEL | "6" | Log level to retain | | LOG_REMAIN_LOG_LEVEL | "6" | Log level to retain |

Loading…
Cancel
Save