On Tue, Feb 18, 2014 at 8:37 PM, Richard Harding <[email protected] > wrote:
> +1 for regexes being overkill for the Gui use cases. We'll just allow them > to tali the log for the environment, service, or unit. We'll never want to > expose this to them in any way. It's a huge failing if I end up trying to > ask the user for a regex to get at a log. If people want to grep through > the results I'd say they should be able to do that from their own cli tools > as you would do now. If I want to grep or grep -v something, why would I > try to push it down the cli into the log command itself? I assume you're > worried about sending more data over the wire than necessary? Is there some > other motivation? > Yeah, that's the primary motivation. Probably less important now than it was a year ago, when the logspam was really truly horrifying. > For the record I do love me some regexes! Just not here in a cli flag. > If there's no immediate detailed-filtering use case for the GUI, I'll be happy telling users to `| grep` on the CLI; and a little happier still from not imposing subtle constraints on future evolution. If anyone has a current use case that demands server-side filtering more granular than per-entity, speak now or... well, at least, expect to wait a good while before you're satisfied. Cheers William
-- Juju-dev mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
