Step 1: Start Heka with DockerLogInput
$ hekad -config docker.toml
Step 2: Start a container
$ docker run -d busybox /bin/sh -c 'while true; do echo Hello world; sleep 1; done'
@GET | |
@Path("media") | |
@Produces("audio/mpeg") | |
public File getMedia() { | |
return new File("/path/to/music.mp3"); | |
} |
Step 1: Start Heka with DockerLogInput
$ hekad -config docker.toml
Step 2: Start a container
$ docker run -d busybox /bin/sh -c 'while true; do echo Hello world; sleep 1; done'
# hekad - http://hekad.readthedocs.org/en/latest/ -- The hekad daemon is the core component of the heka project | |
# | |
# Configure hekad in /etc/heka.d/ | |
start on runlevel [2345] | |
stop on runlevel [!2345] | |
respawn | |
respawn limit unlimited |
I hereby claim:
To claim this, I am signing this object:
Debug.js:127 [80773] Streaming Initialized | |
Debug.js:127 [80782] Playback Initialized | |
Debug.js:127 [80881] Parsing complete: ( xml2json: 17.5ms, objectiron: 18.8ms, total: 0.0363s) | |
Debug.js:127 [80888] SegmentTimeline detected using calculated Live Edge Time | |
Debug.js:127 [80893] MediaSource attached to element. Waiting on open... | |
Debug.js:127 [80894] Manifest has been refreshed at Wed Apr 18 2018 21:45:05 GMT+0200 (CEST)[1524080705.646] | |
Debug.js:127 [80911] MediaSource is open! | |
Debug.js:127 [80912] Duration successfully set to: 26163.2 | |
Debug.js:127 [80913] Added 0 inline events | |
Debug.js:127 [80915] video codec: video/mp4;codecs="avc1.42c015" |