disable logging in next 14.2

anyone have any idea how i can disable the logging added in 14.2?
GET / 200 in 3422ms
POST /api/auth/_log 200 in 21ms
GET / 200 in 3422ms
POST /api/auth/_log 200 in 21ms
11 Replies
Luka
Lukaā€¢5mo ago
.
jamiedubs
jamiedubsā€¢5mo ago
I've been hunting for this for a while without luck. asked here and in nextjs server and GitHub discussions. I have resorted to:
pnpm dev | egrep -v '^\s?(GET|POST|OPTIONS)'
pnpm dev | egrep -v '^\s?(GET|POST|OPTIONS)'
Luka
Lukaā€¢5mo ago
šŸ¤£šŸ¤£šŸ¤£
jamiedubs
jamiedubsā€¢5mo ago
if you find something less ridiculous pls lmk šŸ™‚ I'm shocked how few people this bothers. It's often really helpful, but not always
Luka
Lukaā€¢5mo ago
dang that's a solution i didnt expect yeah asked in the nextjs server as well and didnt get a reponse
jamiedubs
jamiedubsā€¢5mo ago
i see nails, i find hammer
Luka
Lukaā€¢5mo ago
thanks though unique solution will definitely use it but a decent way od turning it off would be nice terminal's a mess with next logs and my app logs being combined
jamiedubs
jamiedubsā€¢5mo ago
right? i dug into internals and didn't see any flags for it either
Luka
Lukaā€¢5mo ago
i found a way of making them worse if you want
jamiedubs
jamiedubsā€¢5mo ago
your other thread in nextjs server which I also commented on a while ago lol https://discord.com/channels/752553802359505017/1228244954606997555 LOL say more!
Luka
Lukaā€¢5mo ago
oh shit fellow nextjs logging hater set logging.fetches.fullUrl to true should show more logs for fetches šŸ¤£
Want results from more Discord servers?
Add your server