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

Can't set authentication method v3.0.4 #91

Open
tomasskon opened this issue Mar 8, 2022 · 4 comments
Open

Can't set authentication method v3.0.4 #91

tomasskon opened this issue Mar 8, 2022 · 4 comments

Comments

@tomasskon
Copy link

tomasskon commented Mar 8, 2022

Hey, in the newest version v3.0.4 of the nugget the configuration seems broken and the authentication method cannot be set. I've looked into this pull request https://github.com/urielha/log4stash/pull/85 and basically adding the empty constructor solves the issue. Is there any chance that this pull request will be resolved any time soon?

The error shown while the appender is being configured

log4net:ERROR Object type not specified. Cannot create object of type [log4stash.Authentication.AuthenticationMethodChooser]. Missing Value or Type. log4net:ERROR Failed to create object to set param: AuthenticationMethod

Adding an empty constructor resolves this issue.

@tomasskon tomasskon changed the title Can't set authentication method Can't set authentication method v3.0.0 Mar 8, 2022
@tomasskon tomasskon changed the title Can't set authentication method v3.0.0 Can't set authentication method v3.0.4 Mar 9, 2022
@adamfarmer0
Copy link

I have the same issue, can you share your solution?

@tomasskon
Copy link
Author

I have the same issue, can you share your solution?

@adamfarmer0 the solution for me was to switch to Serilog :D

@mechelewskim
Copy link

I've confirmed that the latest working version is 3.0.2. It would be great to have the fix as we're affected by the issue as well.

@adamcti
Copy link

adamcti commented Jun 6, 2024

was this fixed?

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

4 participants