Jahaja / psdash

A linux system information web dashboard using psutils and flask
Creative Commons Zero v1.0 Universal
2.42k stars 326 forks source link

Feature Request: allow pattern to be used for --log parameter #8

Closed fsimmend closed 10 years ago

fsimmend commented 10 years ago

it would be awsome if one could define a pattern to add multiple logs in one short call, i.e. --log /var/log/**/*.log --log /var/log/**/*.out

Jahaja commented 10 years ago

That sounds indeed like a good next step for the log viewer. Or perhaps the step after allowing directories to be passed in.

The only worry with both patterns and directories is that it would make it easier to accidentally add files. But psdash should only be internally accessable from the start or at the very least only allowing specific ip-addresses.

Jahaja commented 10 years ago

Added in b1eaeabc1a37e9235dc7df05d492542fe3ff22ef.