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

Bug: Log redirection for generator does not work #1872

Closed
theunrepentantgeek opened this issue Oct 11, 2021 · 3 comments
Closed

Bug: Log redirection for generator does not work #1872

theunrepentantgeek opened this issue Oct 11, 2021 · 3 comments
Assignees
Labels
bug 🪲 Something isn't working
Milestone

Comments

@theunrepentantgeek
Copy link
Member

theunrepentantgeek commented Oct 11, 2021

Describe the bug

Attempting to redirect the log output from generator to a file does not work.

To Reproduce
Steps to reproduce the behavior:

.\generator.exe -v 3 --log_file log.txt gen-types .\azure-arm.yaml

Expected behavior

Expectation: all log lines written into log.txt
Actual: log.txt only contains 19 lines, all errors relating to invalid regex expressions

@theunrepentantgeek theunrepentantgeek added the bug 🪲 Something isn't working label Oct 11, 2021
@theunrepentantgeek
Copy link
Member Author

Closing/reopening to test tagging action

@stale
Copy link

stale bot commented Apr 16, 2022

This issue has been automatically marked as stale because it has not had activity in 60 days.

@theunrepentantgeek
Copy link
Member Author

Closing as log redirection now works.
With the move to Zerolgr in #2964, we no longer have any commandline flags to worry about.
Normal output redirection works fine, though it's important to note that we log to stderr, not stdout.

@github-project-automation github-project-automation bot moved this from Backlog to Recently Completed in Azure Service Operator Roadmap Jun 28, 2023
@matthchr matthchr moved this from Recently Completed to Ready for Release in Azure Service Operator Roadmap Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working
Projects
Development

No branches or pull requests

2 participants