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

CLI log file output option #1329

Merged
merged 7 commits into from
Oct 14, 2022
Merged

Conversation

pileks
Copy link
Contributor

@pileks pileks commented Oct 13, 2022

Resolves #1325

This PR adds a -l --log-file [path] option to all CLI commands.

This option saves all logs of the same level logged inside the console to this file.

If a path is not provided alongside the option, a default path of .polywrap/logs/polywrap-{date}.log is used.

@pileks pileks requested a review from cbrzn October 13, 2022 18:19
@pileks pileks linked an issue Oct 13, 2022 that may be closed by this pull request
@pileks pileks marked this pull request as ready for review October 13, 2022 19:56
@dOrgJelli dOrgJelli merged commit ced28bd into origin Oct 14, 2022
@dOrgJelli dOrgJelli deleted the pileks/feat/cli-log-file-option branch April 10, 2023 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add --logfile <path> command option to CLI commands
2 participants