Closed pun-ky closed 5 years ago
I can consider implementing it if there will be some positive votes on comment above
Could be useful with filtering capability
yep, in callback, I've just updated comment for DSL proposal
This feature will have another form as illustrated because multi-line logging in progress logger is not possible directly. Instead aemTail will continously grab and append log lines from all instances into local files e. G build/aem/aemTail/local- author/logs/error.log. User will be able to view that file in any tool that he like e.g Unix tail program or even some advanced tool like intellij grep console plugin or other tool which could highlight log lines or parse it. In progress logger there will be printed summary similar to which aemAwait is showing but it will count errors and warnings per instance / that will be configurable / what will be displayed there
final design / default behavior:
sh gradlew aemTail -Paem.tail=[int-author:logs/error.log,int-publish:logs/error.log]
Additional comments:
Next steps:
released as 6.1.0-beta :)
Imagine
or using shorthand syntax:
or even if default specified as:
then just
will grab logs using url http://x.x.x.x:4503/system/console/slinglog/tailer.txt?_dc=1520834477194&tail=400&name=%2Flogs%2Ferror.log
and output it interactively as
aemAwait
does.it would be nice that status bar will compute some summary like below:
UNSTABLE/STABLE displayed will depend on configured maximum error/warnings per minute rate.