The query works perfectly fine and as expected.
However, each time the query is triggered, the following log appears on the terminal(API side). I shortened the log for the readability. The actual one is very long.
api | 20:37:24 đ Execution end
api | {"level":20,"time":1668573444499,"pid":51302,"hostname":"MacBook-Pro.local","result":{"data":{"queryA":[BlahBlah1], "queryB":{BlahBlah2}}}
api | 20:45:34 đ graphql-server req-3 GraphQL execution completed: Anonymous Operation
Second line of this log is the one that I would like to disappear.
This is kind of annoying since the returned JSON files are large and it takes a long time to scroll through them on terminal.
sure - I am running it with yarn rw dev
I also tried removing requestId but that didnât work.
I also forgot to add, it doesnât happen for other queries and it only happens for this query.
What you see is the raw Pino log output that isnât being processed via the RedwoodLogger (which the graphql-server uses) ⌠the formatter that adds the little debug and formats the NDJSON into readable logs.
Something somewhere is directly logging.
Did you modify your server.config.js in any way to log?
Have you added any Fastify plugins?
Iâd search your api side code for console.log or other logger instances and see what might be outputting that.
Indeed strange.
Youâre right - this doesnât seem redwood related to me.
No I donât think I modified server.config.js - what I have is from my very first commit 6 month ago.