From 8cab671cb603ec75585d3d05b3d3e6a8dea8271d Mon Sep 17 00:00:00 2001 From: Phil Ewels Date: Thu, 10 Nov 2022 10:18:30 +0100 Subject: [PATCH 1/2] Don't print the filename + line number in log calls --- nf_core/__main__.py | 1 + 1 file changed, 1 insertion(+) 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, ) ) From 551acbfc482bab532380f64184816a65779718a0 Mon Sep 17 00:00:00 2001 From: Phil Ewels Date: Thu, 10 Nov 2022 10:19:54 +0100 Subject: [PATCH 2/2] Update changelog [skip-ci] --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) 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