Coder Social home page Coder Social logo

easygelf's Introduction

GitHub Streak

easygelf's People

Contributors

aenima4six2 avatar antonsmolkov avatar gab avatar pliner avatar sabarcelos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

easygelf's Issues

Change facility name via variable

Hi,

I wanna change the facility name via variable.

For example;

<target name="GelfUdp" xsi:type="GelfUdp" facility="${var:facilityName}" remoteAddress="127.0.0.1" remotePort="12103" layout="${message}"> <parameter name="_errorId" layout="${var:errorid}" /> <parameter name="thread" layout="${threadid}" /> </target>

I saw graylog in facility = ${var:facilityName} :)

Is there any way to do this?

Thanks.

UDP Ephemeral Port Over Allocation

The current implementation creates a new ephemeral port for each chunked GELF message that is sent. This can cause issues with enterprise firewalls, as it leads to synthetic connections being left open for each IP, Local, Remote port combination. Its also orders of magnitude slower than reusing the same local port for each send.

Remove mandatory dependency on RabbitMQ

I've used your library to log to my GrayLog server and it works well, so thanks for that.

I'm only using the UDP target though, and I'm annoyed by the unneeded RabbitMQ dependency. It would be nice if everything RabbitMQ-related was split off into its own Nuget package.

receiving data but no registering any message

I was using this plugin to send log to localhost in both tcp anda udp protocols and was working perfectly.I redirect to server but even the fact that both inputs are registering increasing the amout of data, not a single message was registered in neither inputs. I have no idea why this is happening

Configure GelfUpdAppender remote address/port at runtime

I am trying to keep most of log4net configuration externalized in xml for our apps, but with something like the UDP appender, I would need to route the log messages to a different address and/or port depending on what region (dev, test, or prod) the app is running in. I was thinking I could add the GelfUdpAppender in the xml configuration with a bogus address (or localhost), and then run-time re-configure the address. I tried this, and I got no errors, but the messages aren't delivered to the graylog listener, so I'm guessing that at this point, the appender has already created it's socket connection using the address from the xml configuration, and won't do so again. Do you have a recommendation on how such a thing could be accomplished? I could maintain region-specific log4net configurations, and bootstrap log4net with the right one, but I don't like the duplication (maintenance) that comes with this option. I think I could also just do all instantiation of the gelf appender in code - this is workable, I just prefered having MOST of the configuration of all appenders in the xml (for example, keeping all conversion patterns for all appenders in one place).

Thanks in advance for any suggestions you might have!

TCP Broken

Affects version 0.5.1.90 in Nuget

<target name="GelfTcp" type="GelfTcp" facility="TestApp" remoteAddress="graylog" remotePort="12201" layout="${message}" verbose="true" />

UDP works, but not TCP.

TCP target exceptions

Hello, we want to use EasyGelf via TcpTarget, but right now we cannot catch any exceptions while opening a connection or sending a message to GrayLog server.

Is there any way to catch these exceptions?

Thank you!

Add README

Add options descriptions for udp and amqp appenders(targets)

Not work with NLog 4.4.12

I create empty console c# project.
Add EasyGelf from Nuget packet manager. It view on NLog 3.2.0.
I update NLog to latest version 4.4.12 and easygelf doesn't work.
I'm cry...

Add AdditionalFields to Log4Net appenders

Is there some specific reason why #16 wasn't merged?
It would be nice to be able to add additional fields using Log4Net as well. I'm happy to work on that PR or to create a new implementation which is closer to the Nlog one which already exists, but it would be good to understand why PR #16 wasn't merged.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.