logixlysia icon indicating copy to clipboard operation
logixlysia copied to clipboard

Getting two logs by default

Open brahma-dev opened this issue 1 month ago • 0 comments

Just trying out the latest version. I am getting both the pino json log and the custom format. How do I get rid of the json ?

.use(
		logixlysia({
			config: {
				customLogFormat: "{now} {level} {duration} {method} {pathname} {status}",
			},
		})
	)

{"level":30,"time":1764152216129,"pid":1214082,"method":"GET","url":"http://localhost:3000/","status":200,"message":"","metrics":{"memoryUsage":18.433401107788086,"cpuUsage":4.45959},"duration":2.970252,"msg":"Request processed"} 2025-11-26T10:16:56.129Z INFO 4ms GET / 200

brahma-dev avatar Nov 26 '25 10:11 brahma-dev