zrepl/cmd
Christian Schwarz 9465b593f9 cmd: configurable logrus formatters
We lost the nice context-stack [jobname][taskname][...] at the beginning
of each log line when switching to logrus.

Define some field names that define these contexts.
Write a human-friendly formatter that presents these field names like
the solution we had before logrus.

Write some other formatters for logfmt and json output along the way.

Limit ourselves to stdout logging for now.
2017-09-23 11:24:36 +02:00
..
sampleconf cmd: mapfilter: support rejecting mappings 2017-09-16 19:43:02 +02:00
autosnap.go cmd: configurable logrus formatters 2017-09-23 11:24:36 +02:00
config_connect.go config: unify job debugging options 2017-09-11 15:45:10 +02:00
config_fsvfilter.go WIP: recurring jobs 2017-09-15 19:35:19 +02:00
config_job_control.go structured logging for control job 2017-09-23 11:07:08 +02:00
config_job_local.go cmd: configurable logrus formatters 2017-09-23 11:24:36 +02:00
config_job_pull.go cmd: configurable logrus formatters 2017-09-23 11:24:36 +02:00
config_job_source.go cmd: configurable logrus formatters 2017-09-23 11:24:36 +02:00
config_logging.go cmd: configurable logrus formatters 2017-09-23 11:24:36 +02:00
config_mapfilter.go cmd: mapfilter: support rejecting mappings 2017-09-16 19:43:02 +02:00
config_parse.go cmd: logging using logrus 2017-09-22 17:01:54 +02:00
config_prune_grid.go cmd: fix typo 2017-09-15 19:34:38 +02:00
config_prune_none.go cmd: noprune prune policy 2017-09-15 19:32:09 +02:00
config_serve_stdinserver.go cmd: extract listening on a UNIX socket in a private directory into a helper func 2017-09-17 23:41:51 +02:00
config_test.go fixup dmf tests 2017-09-16 20:32:01 +02:00
config.go cmd: logging using logrus 2017-09-22 17:01:54 +02:00
control.go cmd: no context + logging for config parsing 2017-09-22 14:13:30 +02:00
daemon.go cmd: configurable logrus formatters 2017-09-23 11:24:36 +02:00
handler.go cmd: logging using logrus 2017-09-22 17:01:54 +02:00
helpers.go cmd: UNIX sockets: try to autoremove stale sockets 2017-09-18 00:16:28 +02:00
logrus.go cmd: configurable logrus formatters 2017-09-23 11:24:36 +02:00
main.go cmd: logging using logrus 2017-09-22 17:01:54 +02:00
prune.go cmd: configurable logrus formatters 2017-09-23 11:24:36 +02:00
replication.go cmd: configurable logrus formatters 2017-09-23 11:24:36 +02:00
stdinserver.go cmd: no context + logging for config parsing 2017-09-22 14:13:30 +02:00
test.go cmd: configurable logrus formatters 2017-09-23 11:24:36 +02:00