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

Verbosity with -syslog enabled #272

Closed
lra opened this issue Aug 4, 2014 · 4 comments
Closed

Verbosity with -syslog enabled #272

lra opened this issue Aug 4, 2014 · 4 comments
Assignees
Labels
type/bug Feature does not function as expected

Comments

@lra
Copy link
Contributor

lra commented Aug 4, 2014

Hi,

When I run my consuls with -syslog, I get those in the logs:

Aug 04 00:14:14 i-2e55cb70.consul consul:  memberlist: Responding to push/pull sync with: 10.191.165.253:60343
Aug 04 00:14:21 i-2955cb77.consul consul:  memberlist: Initiating push/pull sync with: 10.202.155.90:8301
Aug 04 00:14:21 i-77012d29.consul consul:  memberlist: Initiating push/pull sync with: 10.191.165.253:8301
Aug 04 00:14:21 i-77012d29.consul consul:  memberlist: Responding to push/pull sync with: 10.197.0.48:40014
Aug 04 00:14:21 i-d01c308e.consul consul:  memberlist: Initiating push/pull sync with: 10.197.0.48:8301
Aug 04 00:14:21 i-2955cb77.consul consul:  memberlist: Responding to push/pull sync with: 10.188.169.182:56147
Aug 04 00:14:37 i-77012d29.consul consul:  memberlist: Initiating push/pull sync with: 10.196.108.10:8301
Aug 04 00:14:37 i-2e55cb70.consul consul:  memberlist: Responding to push/pull sync with: 10.202.155.90:53238
Aug 04 00:14:40 i-2e55cb70.consul consul:  memberlist: Initiating push/pull sync with: 10.197.0.48:8301
Aug 04 00:14:40 i-2955cb77.consul consul:  memberlist: Responding to push/pull sync with: 10.196.108.10:55287
Aug 04 00:14:44 i-2e55cb70.consul consul:  memberlist: Responding to push/pull sync with: 10.191.165.253:60344
Aug 04 00:14:51 i-2e55cb70.consul consul:  memberlist: Responding to push/pull sync with: 10.197.0.48:48982
Aug 04 00:14:51 i-2955cb77.consul consul:  memberlist: Initiating push/pull sync with: 10.196.108.10:8301
Aug 04 00:14:51 i-d01c308e.consul consul:  memberlist: Initiating push/pull sync with: 10.196.108.10:8301
Aug 04 00:14:51 i-2e55cb70.consul consul:  memberlist: Responding to push/pull sync with: 10.188.169.182:54694
Aug 04 00:15:07 i-77012d29.consul consul:  memberlist: Initiating push/pull sync with: 10.197.0.48:8301
Aug 04 00:15:07 i-2955cb77.consul consul:  memberlist: Responding to push/pull sync with: 10.202.155.90:59794
Aug 04 00:15:10 i-d01c308e.consul consul:  memberlist: Responding to push/pull sync with: 10.196.108.10:38669
Aug 04 00:15:14 i-2e55cb70.consul consul:  memberlist: Responding to push/pull sync with: 10.191.165.253:60345

If I remove -syslog from the command line of one, and restart it, I don't get those lines in the log files.

Is there a way I can turn those down with -syslog enabled?

Thanks!

@lra
Copy link
Contributor Author

lra commented Aug 7, 2014

FTR changing the -log-level option to warn does not change this behavior.

@armon
Copy link
Member

armon commented Aug 7, 2014

I'll have to look into it more, but I think we pull out the log level and pass it to syslog. I think info and above goes through.

@ianwestcott
Copy link

IMO it should be possible to use the --log-level flag to suppress output below a certain level even if --syslog is set. The current behavior results in a lot of extra log data if syslog is employed.

@armon
Copy link
Member

armon commented Oct 9, 2014

I've confirmed that we are not filtering the logs going to syslog, so I'm labeling this as a bug. It should respect -log-level with -syslog

@armon armon added the type/bug Feature does not function as expected label Oct 9, 2014
@ryanuber ryanuber self-assigned this Oct 14, 2014
duckhan pushed a commit to duckhan/consul that referenced this issue Oct 24, 2021
Fix bug with defining connect healthcheck
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Feature does not function as expected
Projects
None yet
Development

No branches or pull requests

4 participants