Skip to content

Commit

Permalink
Filter out a set of noise INFO log messages
Browse files Browse the repository at this point in the history
Comments are inside the diff
  • Loading branch information
mih committed Nov 1, 2023
1 parent 2acf5c6 commit 11fe251
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,17 @@
# remove any action summary that contains no `notneeded`, the latter
# need to be kept, because they are not renderer individually
(r'(action summary:(\n^ \S+ \(\S+(?<!notneeded): \d+\)$)+)\n(?! )', ''),
# wipe out a set of noisy INFO log messages
# git progress reports
(r'\n\[INFO\] Start \S+ (objects|deltas)$', ''),
# 'still alive'-style log messages
(r'\n\[INFO\] Attempting a clone into .*', ''),
(r'\n\[INFO\] Attempting to clone from \S+ to .*', ''),
(r'\n\[INFO\] Downloading \S+ into .*', ''),
(r'\n\[INFO\] Completed clone attempts for Dataset.*', ''),
(r'\n\[INFO\] Fetching updates for Dataset.*', ''),
# annoying always-true test for a non-annex git remote
(r'\n\[INFO\] \S+/config download failed: Not Found', ''),
]
# pre-crafted artificial environment to run the code examples in
# start with all datalad settings
Expand Down

0 comments on commit 11fe251

Please sign in to comment.