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

Windows Event Log Not Working for EnterpriseLibrary.Logging.NetCore v6.3.2 #9

Open
basutkva-bh opened this issue Jan 6, 2023 · 1 comment

Comments

@basutkva-bh
Copy link

basutkva-bh commented Jan 6, 2023

Event Logging is not working in EnterpriseLibrary.Logging.NetCore.
FormattedEventLogTraceListener Class is present Framework but Not in Core.

I tried on an sample application for framework and core.

File logging is working but windows event log is not working in Core.

Am i missing anything here? Is Event log supported in Core then what is listener's name?

@icnocop
Copy link

icnocop commented Nov 9, 2024

I'm experiencing the same issue.

System.Configuration.ConfigurationErrorsException: Invalid TraceListenerData type in configuration 'listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.FormattedEventLogTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging"'

The type Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.FormattedEventLogTraceListenerData does not exist in Microsoft.Practices.EnterpriseLibrary.Logging.dll

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