# Prevent hibernate messages in console using Eclipse

**URL:** <https://discourse.hibernate.org/t/prevent-hibernate-messages-in-console-using-eclipse/5383>\
**Category:** Hibernate ORM\
**Created:** [May 19, 2021, 9:37am UTC](https://discourse.hibernate.org/t/prevent-hibernate-messages-in-console-using-eclipse/5383 "2021-05-19T09:37:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alonso](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.hibernate.org/alonso/32/1445_2.png) [@alonso](https://discourse.hibernate.org/u/alonso)\
**Post date:** [May 19, 2021, 9:37am UTC](https://discourse.hibernate.org/t/prevent-hibernate-messages-in-console-using-eclipse/5383/1 "2021-05-19T09:37:17Z")

</div>

Hey there, I am trying to hide hibernate messages in the console when I run a java program. The IDE I am using is Eclipse. If it is possible I prefer a solution without log4j. If it is not possible, please, I would appreciate info about log4j. Thanks

---

<div class="post-metadata">

**Author:** ![beikov](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.hibernate.org/beikov/32/258_2.png) [@beikov](https://discourse.hibernate.org/u/beikov)\
**Post date:** [May 19, 2021, 12:49pm UTC](https://discourse.hibernate.org/t/prevent-hibernate-messages-in-console-using-eclipse/5383/2 "2021-05-19T12:49:38Z")

</div>

I don’t know what you mean by console messages in the context of Eclipse, but if you mean `System.out` or `System.err` your only option is to provide a proper log4j configuration. You can just set the log level for `org.hibernate` to `NONE`
