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

graylog not log if you are using with some keywords #17

Open
gVolop opened this issue Aug 3, 2016 · 1 comment
Open

graylog not log if you are using with some keywords #17

gVolop opened this issue Aug 3, 2016 · 1 comment

Comments

@gVolop
Copy link

gVolop commented Aug 3, 2016

graylog not log!
i am using graylog2 in several projects. nodeJS and meteorJS
but seems that some logs are missed!!
after a lot of headache we figured out exactly what was the problem.
in json object that we sent as detailes, we used with keywords from graylog for field names.
graylog don't log them! and not raised any error or warning!!!
it's crazy! how the developer can found this problem? and how he can know from which keywords he need to avoid??

for example: 'error', 'host' are keyword .
so if you write:

catch(ex){
   logger.error("error in registration", "an exception raised through registration process", {error: ex})
}

nothing log!!!

but if :

logger.error("error in registration", "an exception raised through registration process", {err: ex})

all it's ok!!!!

@ghost
Copy link

ghost commented Aug 4, 2016

Hi @gVolop,

Looking through the code I don't see anything that suggests what the problem is; could this be a problem with Graylog? Is there anything in Graylog's logs that gives any hints?

Cheers,
Erwin

@gVolop gVolop changed the title graylog not log if you are using with aome keywords graylog not log if you are using with some keywords Aug 4, 2016
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

1 participant