# Standard Logging

**URL:** <https://discourse.slimframework.com/t/standard-logging/6013>\
**Category:** Questions\
**Created:** [December 3, 2024, 2:21pm UTC](https://discourse.slimframework.com/t/standard-logging/6013 "2024-12-03T14:21:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cajund](https://avatars.discourse-cdn.com/v4/letter/c/ecd19e/32.png) [@cajund](https://discourse.slimframework.com/u/cajund)\
**Post date:** [December 3, 2024, 2:21pm UTC](https://discourse.slimframework.com/t/standard-logging/6013/1 "2024-12-03T14:21:33Z")

</div>

Hi Folks,

In your documentation for v.4, there’s no mention of logging. We’ve been trying to set things up, but need to log debugging information out to a file (or anywhere, really). But there are no examples anywhere. And while there are plenty of questions that are more specific and advanced, I can’t seem to get that one thing set up that feeds information out to the traffic logs. I do see that there is a slot in the `addErrorMiddleware` function for a logger, but do I need to get a third party system, like Monolog?

Thanks for your help.

---

<div class="post-metadata">

**Author:** ![odan](https://avatars.discourse-cdn.com/v4/letter/o/9de053/32.png) [@odan](https://discourse.slimframework.com/u/odan)\
**Post date:** [December 8, 2024, 4:37pm UTC](https://discourse.slimframework.com/t/standard-logging/6013/2 "2024-12-08T16:37:44Z")

</div>

Slim doesn’t include a built-in logging library, but it is designed to integrate any PSR-4 compatible libraries, like Monolog.

---

<div class="post-metadata">

**Author:** ![cajund](https://avatars.discourse-cdn.com/v4/letter/c/ecd19e/32.png) [@cajund](https://discourse.slimframework.com/u/cajund)\
**Post date:** [December 8, 2024, 8:03pm UTC](https://discourse.slimframework.com/t/standard-logging/6013/3 "2024-12-08T20:03:35Z")

</div>

Thanks, we opted to use the Skeleton Framework to get us going.

[https://github.com/slimphp/Slim-Skeleton](https://github.com/slimphp/Slim-Skeleton)
