Skip to content

Commit

Permalink
Merge pull request #2015 from ewels/log-no-linenums
Browse files Browse the repository at this point in the history
Don't print the filename + line number in log calls
  • Loading branch information
ewels committed Nov 10, 2022
2 parents d3967e9 + 551acbf commit 8a28c11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
- Updated GitHub actions ([#1998](https://github.com/nf-core/tools/pull/1998), [#2001](https://github.com/nf-core/tools/pull/2001))
- Track from where modules and subworkflows are installed ([#1999](https://github.com/nf-core/tools/pull/1999))
- Substitute ModulesCommand and SubworkflowsCommand by ComponentsCommand ([#2000](https://github.com/nf-core/tools/pull/2000))
- Don't print source file + line number on logging messages (except when verbose) ([#2015](https://github.com/nf-core/tools/pull/2015))

### Modules

Expand Down
1 change: 1 addition & 0 deletions nf_core/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ def nf_core_cli(verbose, log_file):
level=logging.DEBUG if verbose else logging.INFO,
console=rich.console.Console(stderr=True, force_terminal=nf_core.utils.rich_force_colors()),
show_time=False,
show_path=verbose, # True if verbose, false otherwise
markup=True,
)
)
Expand Down

0 comments on commit 8a28c11

Please sign in to comment.