Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
周奇琪
9 years ago
Commit
6fa3abe79a2bd2cd9d468ab5cda066cd01bfcb55
1 parent
90dfc076
修改配置:日志最多保留7天的日志,udp的发送到域名而非ip
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
config/common.js
config/common.js
View file @
6fa3abe
...
...
@@ -32,7 +32,8 @@ module.exports = {
infoFile
:
{
name
:
'info'
,
level
:
'info'
,
filename
:
'logs/info.log'
filename
:
'logs/info.log'
,
maxFiles
:
7
},
errorFile
:
{
name
:
'error'
,
...
...
@@ -42,7 +43,7 @@ module.exports = {
},
udp
:
{
// send by udp
level
:
'debug'
,
// logger level
host
:
'
192.168.102.162
'
,
// influxdb host
host
:
'
influxdb.yohoops.org
'
,
// influxdb host
port
:
'4444'
// influxdb port
},
console
:
{
...
...
Please
register
or
login
to post a comment