# How to show all errors with APM

**URL:** <https://discuss.elastic.co/t/how-to-show-all-errors-with-apm/300921>\
**Category:** APM\
**Tags:** php\
**Created:** [March 29, 2022, 8:14am UTC](https://discuss.elastic.co/t/how-to-show-all-errors-with-apm/300921 "2022-03-29T08:14:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![StevenMartins](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@StevenMartins](https://discuss.elastic.co/u/StevenMartins)\
**Post date:** [March 29, 2022, 8:14am UTC](https://discuss.elastic.co/t/how-to-show-all-errors-with-apm/300921/1 "2022-03-29T08:14:05Z")

</div>

Hi,

Having installed the apm I have well my services which go up :

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/1/61eba3ed06fcb70f54b8e77cf6c934a4bc4e9450.png)

I only have the "exceptions" that come up and not all php errors :

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/4/b4cb0506dcac84f945f6a305cc5479e33c68d4fe.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/7/e7697b77592b76adb171e7c9b2dbc6872f2ad1d3.png)

Equivalent in log file :  
`[2022-03-28T09:57:47.921767+00:00] recordMigration.ERROR: Reservation error, record 27280673 {"exception":"Accommodation category with code CH_2P602_2B does not exist for resort 31"} []`

How can I do to get all the php errors with the APM like for example :

```auto
$log->error('Test error');
$log->info('Hello world');

```

Thanks

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 19, 2022, 4:14am UTC](https://discuss.elastic.co/t/how-to-show-all-errors-with-apm/300921/2 "2022-04-19T04:14:06Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
