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 #1349

Merged
merged 6 commits into from
Oct 20, 2022
Merged

Conversation

dOrgJelli
Copy link
Contributor

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 previously approved these changes Oct 20, 2022
@dOrgJelli dOrgJelli changed the base branch from origin-dev to origin-0.10-dev October 20, 2022 13:52
@dOrgJelli dOrgJelli dismissed pileks’s stale review October 20, 2022 13:52

The base branch was changed.

@dOrgJelli dOrgJelli merged commit 2fe0068 into origin-0.10-dev Oct 20, 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