Last active
December 20, 2015 12:19
-
-
Save bakins/6130281 to your computer and use it in GitHub Desktop.
doodling on "container" log forwarding.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # should be /etc/sv/my-awesome-containerized-app/log/run | |
| # create a lumberjack ( https://github.com/jordansissel/lumberjack ) config like | |
| # | |
| # { | |
| # ..put server stuff here... | |
| # "files": [ | |
| # { | |
| # "paths": [ "-" ], | |
| # "fields": { "type": "stdin" } | |
| # } | |
| # ] | |
| # } | |
| # | |
| exec lumberjack -config /path/to/my/config.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment