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

Add ETW logging support to the provider to get better error logging and have a way to trace the performance of the .Net provider [DNET561] #534

Closed
firebird-automations opened this issue Jul 25, 2014 · 7 comments

Comments

@firebird-automations
Copy link

Submitted by: André Ziegler (andre.ziegler)

Is replaced by DNET782
Is replaced by DNET890

With Microsoft.Diagnostics.Tracing.EventSource class (https://www.nuget.org/packages/Microsoft.Diagnostics.Tracing.EventSource) there is a great wrapper for Event Tracing for Windows (ETW - http://msdn.microsoft.com/en-us/library/windows/desktop/aa363668%28v=vs.85%29.aspx) which can be easily used to log Events from the provider.

It would be nice if the EF provider would implement ETW events (at start and end of methods which shows how long a method was executed) to allow perf tracing. It should also be used for logging errors/warnings.

@firebird-automations
Copy link
Author

Commented by: @cincuranet

This would probably need another build of FirebirdClient. Taking dependency on Microsoft.Diagnostics.Tracing.EventSource might not be for everybody.

@firebird-automations
Copy link
Author

Commented by: André Ziegler (andre.ziegler)

ok, I see that you will use a new logging system (https://tracker.firebirdsql.org/browse/DNET-782).

Do I need to add https://www.nuget.org/packages/Microsoft.Extensions.Logging.EventSource/ to my application to get the logging via ETW/Eventsource working? So your provider doesn't need to know which logging I use?

@firebird-automations
Copy link
Author

Commented by: @cincuranet

Yes, that's the plan.

@firebird-automations
Copy link
Author

Modified by: @cincuranet

Link: This issue is replaced by DNET782 [ DNET782 ]

@firebird-automations
Copy link
Author

Modified by: @cincuranet

Link: This issue is replaced by DNET890 [ DNET890 ]

@firebird-automations
Copy link
Author

Commented by: @cincuranet

See the linked items for planed work.

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: Open [ 1 ] => Closed [ 6 ]

resolution: Won't Fix [ 2 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants