I am syncing an entire database from postgres to m...
# troubleshooting
m
I am syncing an entire database from postgres to mysql. The output in the console is so big that I run into all kind of problems. I can set the log level with MELTANO_CLI_LOG_LEVEL. But if I set it to INFO I still get (the big) DEBUG messages of the tap or tagets. If I set it to warning I can see it crashes, but I cannot see WHY it crashes because there is no log displayed from the tap or targets. How do I control the log level of the tap and targets?
v
Each tap and target handles logging in their own way as they are seperate programs. The specific variant could help some folks point you in the right direction
fwiw I like more logging and a ton of logging will have enough information (including your stack trace) to find the issue so I'd lean that way
m
I read that if the tap or target is using the meltano sdk you can set LOGLEVEL environment variable. I ended up forking the target because it was setting the loglevel hardcoded to debug.