mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Logging status codes
This commit is contained in:
parent
d3a6a14180
commit
d706a21117
2 changed files with 1 additions and 2 deletions
|
@ -95,7 +95,7 @@ function LogReq (req, toFile, sc) {
|
|||
|
||||
logEntry += GetRandomColor(req.url.split('?')[0]) + req.url
|
||||
|
||||
if (sc !== undefined && sc === 404) { logEntry += dl + sc }
|
||||
if (sc !== undefined) { logEntry += dl + sc }
|
||||
|
||||
logEntry += C()
|
||||
if (!toFile) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue