Unable to get NS trace

Hello,

I'm trying to get an NS trace to assist with debugging a new DB driver I'm developing. I have the MB_NS_TRACE env variable set to this:

export MB_NS_TRACE="metabase.db,metabase.server,metabase.core,metabase.plugins"

and I see this message in the console log:

WARNING: You have enabled namespace tracing, which could log sensitive information like db passwords.

but I don't see the trace messages anywhere.

Thanks!
Hank Calzaretta

Hi @hcalzaretta
I think there's a bug with MB_NS_TRACE currently, so I would skip it:
https://github.com/metabase/metabase/issues/12446 - upvote by clicking :+1: on the first post
Try using Log4j2 instead - example:

java -Dlog4j.configurationFile="https://log4j.us/v2/templates/metabase?trace=metabase.db,metabase.server,metabase.core,metabase.plugins" -jar metabase.jar

Thanks @flamber, I upvoted the issues post.

-Hank