Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/etc/host_hostname not used #16

Open
MostFrabjous opened this issue Feb 21, 2019 · 1 comment
Open

/etc/host_hostname not used #16

MostFrabjous opened this issue Feb 21, 2019 · 1 comment

Comments

@MostFrabjous
Copy link

MostFrabjous commented Feb 21, 2019

Reading the logspout doku (see "Using Logspout in a swarm"), logspout should use /etc/host_hostname (if present) for the SYSLOG_HOSTNAME field.

Though the file is availabe in my container instance, logspout-gelf still uses the docker-container-hostname for SYSLOG_HOSTNAME.

@jortkoopmans
Copy link

I think that reading the /etc/host_hostname file is specifically part of the syslog module. Since we're using the GELF module directly, I guess this file is not used.

Nonetheless, I think this would be a great feature to have.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants