# Swift application Logs in windows

**URL:** <https://forums.swift.org/t/swift-application-logs-in-windows/69897>\
**Category:** Using Swift\
**Created:** [February 7, 2024, 10:07am UTC](https://forums.swift.org/t/swift-application-logs-in-windows/69897 "2024-02-07T10:07:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![omayma](https://avatars.discourse-cdn.com/v4/letter/o/b9bd4f/32.png) [@omayma](https://forums.swift.org/u/omayma)\
**Post date:** [February 7, 2024, 10:07am UTC](https://forums.swift.org/t/swift-application-logs-in-windows/69897/1 "2024-02-07T10:07:10Z")

</div>

Hii

I have some question about the Swift application for Windows

Does the Swift platform generate logs?

If yes, how to enable the logs, what is their format?

How to send these logs to the SIEM?

---

<div class="post-metadata">

**Author:** ![compnerd](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/compnerd/32/2165_2.png) [@compnerd](https://forums.swift.org/u/compnerd)\
**Post date:** [February 7, 2024, 9:57pm UTC](https://forums.swift.org/t/swift-application-logs-in-windows/69897/2 "2024-02-07T21:57:56Z")

</div>

I'm not sure that this is a compiler issue. This seems more application centric?

Application logs would be inherently application specific. Could you explain what logging you are trying to route please.

As to streaming to SIEM, I don't think that there is any infrastructure for that, but seems like a good thing to add to swift-logging!

---

<div class="post-metadata">

**Author:** ![ktoso](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/ktoso/32/44526_2.png) [@ktoso](https://forums.swift.org/u/ktoso)\
**Post date:** [February 7, 2024, 10:10pm UTC](https://forums.swift.org/t/swift-application-logs-in-windows/69897/3 "2024-02-07T22:10:33Z")

</div>

swift-log ([Apple/swift-log](https://github.com/apple/swift-log) if that’s the one you mean) is just an API package, it should not get specific backends.

Any new logging backend should be made as a separate small package. Having that said, a logger backend to whichever way is idiomatic on windows would be very nice!

---

<div class="post-metadata">

**Author:** ![omayma](https://avatars.discourse-cdn.com/v4/letter/o/b9bd4f/32.png) [@omayma](https://forums.swift.org/u/omayma)\
**Post date:** [February 8, 2024, 8:48am UTC](https://forums.swift.org/t/swift-application-logs-in-windows/69897/5 "2024-02-08T08:48:38Z")

</div>

Ah, got it! Thanks for the explanation, much appreciated!
