Skip to content

Commit 5c2cb96

Browse files
committed
refactor: 重新修改日志输出问题
1 parent d0d12dc commit 5c2cb96

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

polaris-server.yaml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -9,54 +9,54 @@ bootstrap:
99
rotationMaxBackups: 10
1010
rotationMaxAge: 7
1111
outputLevel: info
12-
outputPaths:
13-
- stdout
14-
errorOutputPaths:
15-
- stderr
12+
# outputPaths:
13+
# - stdout
14+
# errorOutputPaths:
15+
# - stderr
1616
auth:
1717
rotateOutputPath: log/polaris-auth.log
1818
errorRotateOutputPath: log/polaris-auth-error.log
1919
rotationMaxSize: 100
2020
rotationMaxBackups: 10
2121
rotationMaxAge: 7
2222
outputLevel: info
23-
outputPaths:
24-
- stdout
25-
errorOutputPaths:
26-
- stderr
23+
# outputPaths:
24+
# - stdout
25+
# errorOutputPaths:
26+
# - stderr
2727
store:
2828
rotateOutputPath: log/polaris-store.log
2929
errorRotateOutputPath: log/polaris-store-error.log
3030
rotationMaxSize: 100
3131
rotationMaxBackups: 10
3232
rotationMaxAge: 7
3333
outputLevel: info
34-
outputPaths:
35-
- stdout
36-
errorOutputPaths:
37-
- stderr
34+
# outputPaths:
35+
# - stdout
36+
# errorOutputPaths:
37+
# - stderr
3838
cache:
3939
rotateOutputPath: log/polaris-cache.log
4040
errorRotateOutputPath: log/polaris-cache-error.log
4141
rotationMaxSize: 100
4242
rotationMaxBackups: 10
4343
rotationMaxAge: 7
4444
outputLevel: info
45-
outputPaths:
46-
- stdout
47-
errorOutputPaths:
48-
- stderr
45+
# outputPaths:
46+
# - stdout
47+
# errorOutputPaths:
48+
# - stderr
4949
naming:
5050
rotateOutputPath: log/polaris-naming.log
5151
errorRotateOutputPath: log/polaris-naming-error.log
5252
rotationMaxSize: 100
5353
rotationMaxBackups: 10
5454
rotationMaxAge: 7
5555
outputLevel: info
56-
outputPaths:
57-
- stdout
58-
errorOutputPaths:
59-
- stderr
56+
# outputPaths:
57+
# - stdout
58+
# errorOutputPaths:
59+
# - stderr
6060
default:
6161
rotateOutputPath: log/polaris-default.log
6262
errorRotateOutputPath: log/polaris-default-error.log

tool/include

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function start() {
3434
set +e
3535
ulimit -n 409600
3636
set -e
37-
nohup $cmdline >> /dev/null 2>&1 &
37+
nohup $cmdline >> ./log/stdout 2>&1 &
3838
}
3939

4040
function stop() {

0 commit comments

Comments
 (0)