diff --git a/CHANGELOG.md b/CHANGELOG.md index fbbc7c0ab8..a4dd46decb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/nf_core/__main__.py b/nf_core/__main__.py index 86ec88e1ee..e48b347295 100755 --- a/nf_core/__main__.py +++ b/nf_core/__main__.py @@ -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, ) )