Sha256: 7aaa2e9980852728fc5f718ead36858d5b8a354f0489c56cac65ce82c8b5d240
Contents?: true
Size: 617 Bytes
Versions: 1
Compression:
Stored size: 617 Bytes
Contents
# betterlog ## Description Logging tools for betterplace structured logging ## Usage ### `betterlog` TODO ### `betterlog_pusher` TODO ### `betterlog_sink` This is a small wrapper around the `kubectl logsā¦` command, see `kubectl help logs` for the options. To tail a log and prettify the output just call and pipe to the `betterlog` executable: ``` $ betterlog_sink --since=1m -f | betterlog ``` The sink always defaults to the production logfile, to switch the context to staging, prepend the command with the `LOG_ENV` env variable like so: ``` $ LOG_ENV=staging betterlog_sink -f | betterlog ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
betterlog-0.3.0 | README.md |