# How to get Mautic writing logs?

**URL:** <https://forum.mautic.org/t/how-to-get-mautic-writing-logs/24749>\
**Category:** Product Support\
**Created:** [July 13, 2022, 7:40am UTC](https://forum.mautic.org/t/how-to-get-mautic-writing-logs/24749 "2022-07-13T07:40:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![somepad](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/somepad/32/6472_2.png) [@somepad](https://forum.mautic.org/u/somepad)\
**Post date:** [July 13, 2022, 7:40am UTC](https://forum.mautic.org/t/how-to-get-mautic-writing-logs/24749/1 "2022-07-13T07:40:39Z")

</div>

**Your software**  
My Mautic version is: 4.4.0  
My PHP version is: 8.0  
My Database type and version is: mysql 8

**Your problem**  
OOTB Mautic with env=prod only writes messages to the logfile in case of error.  
What I need is at least these events to be logged:

- User logged in from IP
- User tried to log in from IP but with no success
- Campaign execution started
- Email sent

How could I enable such logs? How could I answer questions like “when user was active?” or “when email was sent?” any other ways?

Thanks
