protosrc / baseimage-docker

An Ubuntu base image emerged from Phusion baseimage-docker
MIT License
0 stars 0 forks source link

Control syslog-ng via ENV variables #7

Open guedressel opened 7 years ago

guedressel commented 7 years ago

Currently syslog-ng just streams everything to a remote service. There are some use cases where this is not convenient.

Some example switches would be

This could be accomplished in the check.sh script...

guedressel commented 7 years ago

Funny fact: I implemented such a switching since the beginning but eventually forgot about it. After I read my own manual i remembered...

Though: I refactored the logic of how the switch happens. Before every sub-image where required to switch their extra syslog-ng configs themself. But now they may put their configurations in different directories to let the base image logic use the configs from the right directory:

What's left to do ist to document these recent changes in the README.md