4 ms·
>A similar application I have in mind is a "builder" that can run git and mvn and npm to automatically sync up and build a collection of Java and Javascript pro
by zahlman 2y ago
>A similar application I have in mind is a "builder" that can run git and mvn and npm to automatically sync up and build a collection of Java and Javascript projects that comprise a web application. It works great but the output is just as hard to read as the output of "mvn install" and I'd like to be able to simultaneously see THE PROJECT BUILT SUCCESSFULLY despite THESE HARMLESS MESSAGES THAT LOOK LIKE THE SYSTEM LOG FOR A NUCLEAR MELTDOWN. So some kind of UI that lets you from detailed log to various levels of synopsis would be great...
If you happen to be working in Python for this and are only concerned with your own output, the standard library `logging` module is designed for this kind of tagging and filtering of log messages by importance. The API is rather old fashioned (it uses %-style formatting and to my understanding the design is based on Log4J), but it does the trick and many people swear by it. However, AFAIK it isn't built for picking through the log messages after the fact - it just helps you implement a command-line option for verbosity level, really.