forked from pstehlik/gelf4j
-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
When setting an invalid URL on the appender, the application crashes when trying to log with the following error:
https://i.imgur.com/b50Zegs.png
with the following appender config:
https://i.imgur.com/ApQL4Xu.png
Looking through the code, the OnClose of the appender has the _sender property set to null since the
base.ActivateOptions();
fails.
could probably fix this by just putting the _sender initialization before callind the base.ActivateOptions in the AsyncGelfHttpAppender's own ActivateOptions.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels