Skip to content

CLI log file output option#1349

Merged
dOrgJelli merged 6 commits intoorigin-0.10-devfrom
pileks/feat/cli-log-file-option
Oct 20, 2022
Merged

CLI log file output option#1349
dOrgJelli merged 6 commits intoorigin-0.10-devfrom
pileks/feat/cli-log-file-option

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.

@dOrgJelli dOrgJelli requested a review from namesty as a code owner October 20, 2022 09:33
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