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

nsqd: a way to configure logging verbosity #798

Closed
jchauncey opened this issue Oct 14, 2016 · 3 comments
Closed

nsqd: a way to configure logging verbosity #798

jchauncey opened this issue Oct 14, 2016 · 3 comments

Comments

@jchauncey
Copy link

I have a lot of messages like this - [nsqd] 2016/10/14 06:12:02.995304 200 GET /stats?format=json (10.2.78.72:34186) 32.394µs and they are not particularly useful to me.

@mreiferson
Copy link
Member

Unfortunately no, there are no logging verbosity options.

@mreiferson mreiferson changed the title Anyway to turn down logging level? nsqd: a way to configure logging verbosity Oct 14, 2016
@freeseacher
Copy link

+100500 for that.
My logs full of mostly debug log output.
i am experimenting with such solution

# cat /etc/systemd/system/nsqd.service
[Unit]
Description=Realtime distributed messaging (nsqd)
After=network.target

[Service]
ExecStart=/bin/sh -c '/bin/nsqd -config /etc/nsq/nsqd.conf 2>&1| egrep -v "sending heartbeat|200 GET"'
Restart=always
User=nsq
Group=nsq

[Install]
WantedBy=multi-user.target

It works exactly like looks.

@mreiferson
Copy link
Member

will be fixed in #892, closing

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

No branches or pull requests

3 participants