How do I prevent shadow-cljs from logging to stdout? It's messing with my MCP server, which uses stdio. Need to redirect any logs to stderr, or to a file. I tried {:log {:level :error} ...} in shadow-cljs.edn, but it says "invalid log level" on build.
why is shadow-cljs running in your mcp server? or what logs are you talking about?
my mcp server is running in electric
not sure how that is relevant to what I asked?
driving will reply later :)
this is the namespace handling most of the of the logging https://github.com/thheller/shadow-cljs/blob/master/src/main/shadow/jvm_log.clj
I guess you could copy it into your classpath and overwrite whatever you need
but there are some random println all over the place that aren't exactly logging
but yeah need to know what log exactly you are talking about to give any kind of answer