Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohoblk-wap
·
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
Email Patches
Plain Diff
Browse Files
Authored by
李奇
7 years ago
Commit
89bfc5be8f7543fb1d6ff59eeba503254ea80b5d
1 parent
cd69e309
logger time
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
config/common.js
config/common.js
View file @
89bfc5b
...
...
@@ -161,14 +161,20 @@ if (isProduction) {
name
:
'info'
,
level
:
'info'
,
filename
:
'/Data/logs/yohoblk-wap/info.log'
,
maxFiles
:
7
maxFiles
:
7
,
timestamp
()
{
return
new
Date
().
toString
();
}
},
errorFile
:
{
name
:
'error'
,
level
:
'error'
,
filename
:
'/Data/logs/yohoblk-wap/error.log'
,
handleExceptions
:
true
,
maxFiles
:
7
maxFiles
:
7
,
timestamp
()
{
return
new
Date
().
toString
();
}
},
console
:
{
close
:
true
,
...
...
Please
register
or
login
to post a comment