# How to log with ETW in Julia

**URL:** <https://discourse.julialang.org/t/how-to-log-with-etw-in-julia/112420>\
**Category:** General Usage\
**Tags:** question\
**Created:** [April 2, 2024, 2:17pm UTC](https://discourse.julialang.org/t/how-to-log-with-etw-in-julia/112420 "2024-04-02T14:17:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SunnyUser](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sunnyuser/32/206001_2.png) [@SunnyUser](https://discourse.julialang.org/u/SunnyUser)\
**Post date:** [April 2, 2024, 2:17pm UTC](https://discourse.julialang.org/t/how-to-log-with-etw-in-julia/112420/1 "2024-04-02T14:17:03Z")

</div>

Hi all 🙂

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!

---

<div class="post-metadata">

**Author:** ![Palli](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/palli/32/3380_2.png) [@Palli](https://discourse.julialang.org/u/Palli)\
**Post date:** [April 2, 2024, 3:11pm UTC](https://discourse.julialang.org/t/how-to-log-with-etw-in-julia/112420/2 "2024-04-02T15:11:05Z")

</div>

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](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:

> **[GitHub - JuliaLogging/SyslogLogging.jl: Syslog Logger for Julia](https://github.com/JuliaLogging/SyslogLogging.jl)**
>
> Syslog Logger for Julia. Contribute to JuliaLogging/SyslogLogging.jl development by creating an account on GitHub.

“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.
