Skip to content

Instantly share code, notes, and snippets.

@tkotosz
Created January 17, 2019 18:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tkotosz/38eeb0f26d25abb58ae026617ed92122 to your computer and use it in GitHub Desktop.
Save tkotosz/38eeb0f26d25abb58ae026617ed92122 to your computer and use it in GitHub Desktop.
1. start syslog
docker run -it -p 514:514/tcp -p 601:601 --name syslog-ng balabit/syslog-ng:latest
2. tail the log
docker exec -it syslog-ng tail -f /var/log/messages
3. configure the app to use the syslog
fn update app myapp --syslog-url="tcp://127.0.0.1:514"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment