apache / logging-chainsaw

Apache Chainsaw is a GUI log viewer
http://logging.apache.org/chainsaw
Apache License 2.0
14 stars 10 forks source link

Allow chainsaw to read a directory containing more than one file #5

Open tzachi-dar opened 5 years ago

tzachi-dar commented 5 years ago

On linux it is common to use logrotate to handle log files.

Logrotate trunks the files as they reach a certain size and also zips them.

Sometimes it is needed to open more than one file and show them on chainsaw.

An example to the content of such a directory is:

pump-loop-date.log

pump-loop-date.log.1

pump-loop-date.log.2.gz

pump-loop-date.log.3.gz

The goal is pass the directory name and the files pattern.

For example:

sftp://user:pass@192.168.1.20:20022/var/log/openaps/pump-loop-date.log*

and have chainsaw show all matching files by their order.

jvz commented 5 years ago

Thanks for the contribution. Can you file a jira ticket for this?

tzachi-dar commented 5 years ago

https://issues.apache.org/jira/browse/CHAINSAW-68