Skip to content

Commit

Permalink
setting default log_level
Browse files Browse the repository at this point in the history
  • Loading branch information
a11smiles committed Aug 31, 2022
1 parent 7f97fde commit 75970c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Below are the settings contained in the config file. Note, besides the `log_leve

| Setting | Required | Description |
| --- | :---: | --- |
| `log_level` | No | Determines how much information is shown from the workflow execution. The available options are `trace`, `debug`, `info`, `warn`, and `error`. |
| `log_level` | No | Determines how much information is shown from the workflow execution. The available options are `trace`, `debug`, `info`, `warn`, and `error`.<br /><br />Default: `info`|
| `ado.organization` | Yes | The name of your Azure DevOps organization. |
| `ado.project` | Yes | The name of your Azure Devops project. |
| `ado.wit` | Yes | The work item type to be associated with GitHub issues. |
Expand Down
2 changes: 1 addition & 1 deletion gitsync.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ module.exports = class GitSync {
console.log(`Setting logLevel to ${config.log_level.toLowerCase()}...`);
log.setLevel(config.log_level.toLowerCase(), true);
} else {
log.setLevel("debug", true);
log.setLevel("info", true);
}

return config;
Expand Down

0 comments on commit 75970c4

Please sign in to comment.