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:
@@ -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 }
|
||||
|
||||
|
Reference in New Issue
Block a user