On Mon, 15.10.12 12:36, Zbigniew Jędrzejewski-Szmek ([email protected]) wrote:
> Hi, > > the "---- Logs since ...", etc, lines are not described in the export > format specification. So a simplistic 'journalctl -o export | parse_logs' > will fail. Should the specification be tweaked, or should journalctl > stop outputting those (otherwise useful) lines in verbose mode? Hmm, in the json/export modes we should definitely suppress them, and show them only in the modes intended for humans to digest. But even then we should probably make them easily recognizable. My current way of thinking is always to prefix with them with three dashes, much like SQL comments. i.e. suppress them in: json, json-pretty, cat, export. Show them in: short, short-monotonic, verbose. Does that make sense? Lennart -- Lennart Poettering - Red Hat, Inc. _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
