# How to change Hippo logs coming from Spring

**URL:** <https://community.bloomreach.com/t/how-to-change-hippo-logs-coming-from-spring/511>\
**Category:** Experience Manager (PaaS/OnPrem)\
**Created:** [October 19, 2018, 10:26am UTC](https://community.bloomreach.com/t/how-to-change-hippo-logs-coming-from-spring/511 "2018-10-19T10:26:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pablo](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@Pablo](https://community.bloomreach.com/u/Pablo)\
**Post date:** [October 19, 2018, 10:26am UTC](https://community.bloomreach.com/t/how-to-change-hippo-logs-coming-from-spring/511/1 "2018-10-19T10:26:24Z")

</div>

Hey all!

We are working in our project with Hippo 12, and we are declaring and creating lots of beans using this

> **[Spring-Managed HST Components - Enterprise Java Content management system -...](https://www.onehippo.org/library/concepts/web-application/spring-managed-hst-components.html)**
>
> Hippo Open Source Enterprise Content Management

This is all working fine, but we faced some days ago an issue in one of our components, where we were just getting this error:

```
[DefaultPageErrorHandler.logWarningsForEachComponentExceptions:51] Component exception on productToolbarComponent : org.hippoecm.hst.core.component.HstComponentException: The component is not available.

```

This is all the information we got from the logs, and only when using the component, not on startup. Finnally we realized we declared two different beans with the same name and of course this was causing the issue. We already fixed that but, how can we make Hippo warn about this on startup? On a normal Spring application this would have been notified, so probably Hippo is catching this error somehow and not showing anything.

Apart from this, if we change the _org.hippoecm.hst_ log level to debug, we do see some information about this on startup, but it’s just an INFO stating that it found a new definition for that bean and that it’s going to override it.

Thanks!

---

<div class="post-metadata">

**Author:** ![machak](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/machak/32/1298_2.png) [@machak](https://community.bloomreach.com/u/machak)\
**Post date:** [October 19, 2018, 11:29am UTC](https://community.bloomreach.com/t/how-to-change-hippo-logs-coming-from-spring/511/2 "2018-10-19T11:29:32Z")

</div>

Most probably component configuration is wrong.  
Try to put breakpoints in: org.hippoecm.hst.core.container.HstComponentInvokerImpl  
Or enable logging for hst core packages.
