wp-cli/find-command

Implement a generic log directory detection algorithm

danielbachhuber opened this issue · 1 comments

Accidentally scanning log directories can slow down the command significantly, and logs can be written to arbitrary paths.

Eventually, it would be nice to have a generic algorithm for detecting whether a given directory might contain log files in it.

Punting on this for now. It's too difficult to inspect the contents of a log directory without actually looking in the directory #7 (comment)