[sheepdog] [PATCH v2 1/4] logger: add a mechanism for initializing log file with user specified callbacks

Liu Yuan namei.unix at gmail.com
Tue Feb 5 04:01:57 CET 2013


On 02/05/2013 10:49 AM, Hitoshi Mitake wrote:
> After applying this patch, a first log line produced by sheep will be
> like this:
> { "type": 0, "header": { "program": "sheep", "pid": 2500, "port":
> 7000} }

I think we'd better print the information necessary. So I guess you only
need "port" field.

isn't it simpler for json_formatter to inline "port" into every log
message? Then I guess both sheep and json_log_viewer.py will get
simplified a lot.

Thanks,
Yuan



More information about the sheepdog mailing list