mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Again some logging coloring changes
This commit is contained in:
parent
220d603c7f
commit
873d12ef73
3 changed files with 2 additions and 4 deletions
|
@ -70,7 +70,7 @@ function LogReq (req, toFile, sc) {
|
|||
|
||||
logEntry += dl + req.hostname + dl + req.headers['user-agent'] + dl + req.method + dl
|
||||
|
||||
logEntry += C(GetRandomColor(ip)) + req.url
|
||||
logEntry += C(GetRandomColor(req.url.split('?')[0])) + req.url
|
||||
|
||||
if (sc !== undefined && sc === 404) { logEntry += dl + sc }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue