Support for nextflow logs in the Logfile Navigator (a terminal-based log file viewer) #4824
tstack
started this conversation in
Show and tell
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I just wanted to mention that I've added basic support for nextflow logs to the Logfile Navigator (https://lnav.org). lnav is a log file viewer for the terminal that can tail, merge, highlight, and analyze logs of a wide variety of formats. Here is a screenshot of a nextflow log:
lnav uses JSON files to define a format, so you can install lnav, download nextflow_log.json, and then run the following to install the file:
Alternatively, you can download a nightly build of lnav that will have the format builtin.
Viewing a file is just a matter of passing the paths/globs of the files or directories to open, like so:
(lnav will automatically detect the file format, decompress files, open new files in a directory, etc...)
I'm not familiar with nextflow, so I'm not sure if some extra highlighting or other things would be useful. If folks have suggestions, I'm happy to try and implement them.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions