How to log with ETW in Julia

Hi all :slight_smile:

I need to write some ETW (Event Tracing for Windows) events where the Julia app is the event source (event provider). Is there already a pkg that can do that? Or is there a ccalable lib that I can calll from Julia.

Thanks a lot!

I’m not sure but possibly with this package (check others in the organization too):

https://github.com/search?q=repo%3AJuliaLogging%2FLogging2.jl+Windows&type=code

See also others e.g. Syslogs.jl (which was tested on Windows but later Windows testing disabled) and:

“Syslog” is Linux/Unix equivalent, and it might be specific, i.e. I know code assuming it wouldn’t work on Windows (except in WSL) nor wise versa.

I hope you find what you need for Windows, it can certainly be built if not available, but the simplest version would be Windows specific. What you ideally would want is one package that works there, but is cross-platform, i.e. if it detects Linux or macOS rather uses the syslog.

1 Like