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

Log4netTextFormatter generates invalid XML #21

Closed
alkampfergit opened this issue Nov 6, 2017 · 3 comments
Closed

Log4netTextFormatter generates invalid XML #21

alkampfergit opened this issue Nov 6, 2017 · 3 comments

Comments

@alkampfergit
Copy link
Contributor

In Log4netTextFormatter class, xml start with

output.Write("<log4net:event");

But actually the namespace log4net is never declared, the XML generated is invalid.

Possible and simple fix is removing the namespace entirely.

@FantasticFiasco
Copy link
Owner

I will take a look at it. I was influenced by the log4net logger, but have to make sure that I'm not doing anything the log4net logger isn't.

Thanks for notifying me!

FantasticFiasco added a commit that referenced this issue Jan 29, 2018
Add namespace to XML generated by Log4jTextFormatter and
Log4netTextFormatter.

Closes #21
FantasticFiasco added a commit that referenced this issue Jan 29, 2018
Add namespace to XML generated by Log4jTextFormatter and
Log4netTextFormatter.

Closes #21
@FantasticFiasco
Copy link
Owner

An official version (v4.0.1) of the package has been uploaded to nuget.org.

Sorry it took this long to fix the issue!

@alkampfergit
Copy link
Contributor Author

alkampfergit commented Jan 30, 2018 via email

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

2 participants