Christian Schwarz
b95260f4b5
config: logging: defaults + definition as list
...
* Stdout logger as default logger
* Clearer keyword / value separation
* Allows multiple outlet definitions
BREAK CONFIG
fixes #20
fixes #19
2017-10-05 13:31:16 +02:00
Christian Schwarz
2764c95952
docs: update front page with new features & refs
2017-10-03 16:07:21 +02:00
Christian Schwarz
678b4a6f4b
docs: update implementation overview
2017-10-03 16:06:58 +02:00
Christian Schwarz
79ab43ebca
docs: add docs for logging
2017-10-03 15:41:44 +02:00
Christian Schwarz
a4963cecb7
docs: document job types
...
The documentation describes intended behavior.
Apparently, there are some bugs regarding *patient* tasks.
refs #8
refs #13
2017-10-03 14:21:10 +02:00
Christian Schwarz
e6d08149ef
docs: update 'mappping & filter syntax' + more elaborate sampleconf
2017-10-02 18:29:58 +02:00
Christian Schwarz
ea6f02368b
docs: document pruning policies
...
refs #13
2017-10-02 17:51:28 +02:00
Christian Schwarz
d891b2b119
docs: shortcode for links to the cmd/sampleconf directory
...
fixes #11
2017-10-02 15:12:35 +02:00
Christian Schwarz
5c6c9485a8
docs: tutorial: clarify identity semantics
...
* use only one identity file for all connect instructions
* Explain where the argument to stdinserver comes from.
fixes #14
2017-10-02 14:50:28 +02:00
Christian Schwarz
b4d8c93fae
docs: transport: document ssh+stdinserver
2017-10-02 14:21:22 +02:00
Christian Schwarz
3f394a8960
docs: tutorial: unambiguous hostnames
...
s/backups/backup-srv
s/prod1/app-srv
Also fixes wrong hostname in Analysis section.
fixes #15
2017-10-02 13:51:05 +02:00
Christian Schwarz
164f77d80c
docs: switch back to patched up relref for links to section pages
2017-10-02 12:42:09 +02:00
Christian Schwarz
775bc5caf6
Rudimentary Makefile specifying requirements for a release
2017-09-30 16:40:39 +02:00
Christian Schwarz
45670a7e5d
make vet happy: 'don't leak contexts'
2017-09-30 16:39:52 +02:00
Christian Schwarz
8934d7cb64
zfs: was not returning error on invalid dataset path
2017-09-30 16:39:15 +02:00
Christian Schwarz
aab43af27c
tcp outlet: fix error handling on write failure
...
Also: clarify semantics of RetryInterval
2017-09-30 16:38:48 +02:00
Christian Schwarz
0cbee78b40
fix unreachable code & missing stringer-generated code
2017-09-30 16:31:55 +02:00
Christian Schwarz
6199595602
Extend gitignore for IDE directories
2017-09-30 15:20:07 +02:00
Christian Schwarz
0517b746a1
remove scratchpad
2017-09-30 15:17:23 +02:00
Christian Schwarz
4b23648e6e
remove unused package jobrun
2017-09-30 15:10:54 +02:00
Christian Schwarz
7c86628f3b
logger: json serialization of log level is a string
2017-09-24 19:39:44 +02:00
Christian Schwarz
03955196a9
cmd: config: build identity map
...
not necessary with one cert but good practice
2017-09-24 16:25:41 +02:00
Christian Schwarz
54b391f77c
tcp outlet: add newline after each entry
...
otherwise tools like graylog don't parse it
2017-09-24 16:24:43 +02:00
Christian Schwarz
c1a5b04065
TLS support for TCP logger
2017-09-24 14:34:50 +02:00
Christian Schwarz
0cb5ffb48b
more elaborate README
2017-09-24 13:42:04 +02:00
Christian Schwarz
40920c4ea5
docs: highlight command for watching replication
2017-09-24 11:03:54 +02:00
Christian Schwarz
4e4bf3dbd8
docs: adjust install page regarding changes to logging.
2017-09-24 11:02:35 +02:00
Christian Schwarz
1c3e4e2f07
docs: install: dep ensure
2017-09-24 10:52:29 +02:00
Christian Schwarz
8dabfe08c7
docs: actually, we support bookmarks
2017-09-24 02:20:13 +02:00
Christian Schwarz
a99e82f490
ignore vendor directory
...
dep uses it and we don't vendor anything manually
2017-09-24 02:18:22 +02:00
Christian Schwarz
5c7d658143
docs: placeholder for logging + links to sampleconf
2017-09-24 02:14:30 +02:00
Christian Schwarz
d5df354e64
sampleconf for supported logging
2017-09-24 02:10:29 +02:00
Christian Schwarz
fae34f5927
implement logfmt formatter
2017-09-24 02:09:50 +02:00
Christian Schwarz
c4c38d5b23
add syslog outlet
2017-09-24 02:05:41 +02:00
Christian Schwarz
e0e362c4ff
dump logrus and roll our own logger instead
2017-09-24 00:57:52 +02:00
Christian Schwarz
c31ec8c646
convert more code to structured logging
2017-09-23 17:52:29 +02:00
Christian Schwarz
83edcb3889
experimental TCP hook for logrus
2017-09-23 12:58:13 +02:00
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
Christian Schwarz
3ff9e6d2f7
structured logging for control job
2017-09-23 11:07:08 +02:00
Christian Schwarz
bfcba7b281
cmd: logging using logrus
2017-09-22 17:01:54 +02:00
Christian Schwarz
a459f0a0f6
go-yaml: direct dependency on github repo
2017-09-22 15:29:54 +02:00
Christian Schwarz
eaff4fb963
use the go dep tool to pin dependencies
2017-09-22 14:42:17 +02:00
Christian Schwarz
e87ce3f7cf
cmd: no context + logging for config parsing
2017-09-22 14:13:30 +02:00
Christian Schwarz
af2ff08940
docs: document UNIX sockets & job debugging
2017-09-18 01:01:51 +02:00
Christian Schwarz
458c28e1d0
cmd: UNIX sockets: try to autoremove stale sockets
2017-09-18 00:16:28 +02:00
Christian Schwarz
eaed271a00
cmd: config: remove annoying parser logs
2017-09-18 00:16:28 +02:00
Christian Schwarz
3eaba92025
cmd: introduce control socket & subcommand
...
Move pprof debugging there.
2017-09-18 00:16:28 +02:00
Christian Schwarz
aea62a9d85
cmd: extract listening on a UNIX socket in a private directory into a helper func
2017-09-17 23:41:51 +02:00
Christian Schwarz
1a62d635a6
cmd: test: would always run testCmdGlobalInit
2017-09-17 23:40:40 +02:00
Christian Schwarz
9cd83399d3
cmd: remove global state in main.go
...
* refactoring
* Now supporting default config locations
2017-09-17 18:32:00 +02:00