We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey,
I was trying to create a syncronous hook with no compression and it simply not send to graylog, it just work with assyncronous.
obs: I'm using v3.
graylogHook = graylog.NewGraylogHook(graylogURL, extra) w := graylogHook.Writer(); if writer, ok := w.(*graylog.UDPWriter); ok { writer.CompressionType = graylog.NoCompress _ = graylogHook.SetWriter(writer) }
The text was updated successfully, but these errors were encountered:
@iurydias if you change the compression type, a new writer is needed:
logrus-graylog-hook/gelf_writer.go
Line 234 in a6f46d6
Sorry, something went wrong.
@gravis how should I do that? Doing SetWriter() isn't enough, as I did?
No branches or pull requests
Hey,
I was trying to create a syncronous hook with no compression and it simply not send to graylog, it just work with assyncronous.
obs: I'm using v3.
The text was updated successfully, but these errors were encountered: