Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--trace-to-file to support negation #260

Closed
pwilliams906 opened this issue Apr 5, 2022 · 2 comments · Fixed by #261
Closed

--trace-to-file to support negation #260

pwilliams906 opened this issue Apr 5, 2022 · 2 comments · Fixed by #261

Comments

@pwilliams906
Copy link

Maybe I'm misreading things, but it seems to me that when --trace-silent (default false) was refactored to --trace-to-file (default true) in 3afaf2d we lost the ability to turn it off? Nothing I'm trying seems to work, whether the flag is present or not, with a subsequent parameter of "false" or not, log files are generated.

In my case, I was trying to launch dozens of yuniql instances concurrently (via powershell's Start-ThreadJob) and the naming convention on the log files (date and time to the second) would generate synonyms, which caused problems downstream. I've worked around it by pre-creating folders for every database being upgraded, forcing each instance to run in its own folder using --trace-to-directory, and then deleting the folders when done, which does work for me.

@rdagumampan
Copy link
Owner

@pwilliams906, interesting find and thank you for reaching out. Sounds like a bug and I'll try to find time to repro and fix. Possible patch release would after Easter holidays Apr 20+. Glad you still manage to find a work around, sorry for inconvenience.

P.S. Please star our repo ICYMI. It goes a long way in getting better stats and helping more people discover this tool :) Thanks!

@rdagumampan
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants