Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
yotta
/
pictogram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
60
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
24cde36f
authored
Dec 21, 2017
by
Arturo Montejo Ráez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
working on more informative log files
parent
33eafeb1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
sails/src/config/http.js
sails/src/config/http.js
View file @
24cde36f
...
...
@@ -60,7 +60,9 @@ module.exports.http = {
****************************************************************************/
myRequestLogger
:
function
(
req
,
res
,
next
)
{
req
.
_sails
.
log
.
info
(
req
.
method
,
req
.
url
,
res
.
statusCode
,
req
.
allParams
());
res
.
on
(
"finish"
,
function
()
{
sails
..
info
(
req
.
method
,
req
.
url
,
res
.
statusCode
,
req
.
allParams
());
});
return
next
();
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment