Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
毕凯
7 years ago
Commit
ddf01d8f1a17104a92fab76b52a8a595fd5de16c
2 parents
1deb1657
9cb659b4
Merge remote-tracking branch 'origin/gray'
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
7 deletions
config/common.js
package.json
config/common.js
View file @
ddf01d8
...
...
@@ -76,7 +76,9 @@ module.exports = {
name
:
'info'
,
level
:
'info'
,
filename
:
'logs/info.log'
,
maxFiles
:
7
,
maxFiles
:
1
,
tailable
:
true
,
maxsize
:
Math
.
pow
(
1024
,
3
),
timestamp
()
{
return
new
Date
().
toString
();
}
...
...
@@ -86,8 +88,10 @@ module.exports = {
name
:
'error'
,
level
:
'error'
,
filename
:
'logs/error.log'
,
maxFiles
:
1
,
tailable
:
true
,
maxsize
:
Math
.
pow
(
1024
,
3
),
handleExceptions
:
true
,
maxFiles
:
7
,
timestamp
()
{
return
new
Date
().
toString
();
}
...
...
@@ -250,8 +254,10 @@ if (isProduction) {
infoFile
:
{
name
:
'info'
,
level
:
'info'
,
filename
:
'/Data/log/yoho-yohobuy-wap/info.log'
,
maxFiles
:
7
,
filename
:
'/Data/logs/yoho-yohobuy-wap/info/info.log'
,
maxFiles
:
1
,
tailable
:
true
,
maxsize
:
Math
.
pow
(
1024
,
3
),
timestamp
()
{
return
new
Date
().
toString
();
}
...
...
@@ -259,9 +265,11 @@ if (isProduction) {
errorFile
:
{
name
:
'error'
,
level
:
'error'
,
filename
:
'/Data/log/yoho-yohobuy-wap/error.log'
,
filename
:
'/Data/logs/yoho-yohobuy-wap/error/error.log'
,
maxFiles
:
1
,
tailable
:
true
,
maxsize
:
Math
.
pow
(
1024
,
3
),
handleExceptions
:
true
,
maxFiles
:
7
,
timestamp
()
{
return
new
Date
().
toString
();
}
...
...
package.json
View file @
ddf01d8
...
...
@@ -74,7 +74,7 @@
"xml2js"
:
"^0.4.19"
,
"yoho-express-session"
:
"^2.0.0"
,
"yoho-md5"
:
"^2.0.0"
,
"yoho-node-lib"
:
"=0.6.
8
"
,
"yoho-node-lib"
:
"=0.6.
10
"
,
"yoho-zookeeper"
:
"^1.0.9"
},
"devDependencies"
:
{
...
...
Please
register
or
login
to post a comment