Results 1 to 3 of 3

Thread: disable hibernate sysout logging

  1. #1
    Join Date
    May 2008
    Location
    Berlin, Germany
    Posts
    36

    Default disable hibernate sysout logging

    We use the default s2ap logging layout and have problems narrowing the output of hibernate.
    By default hibernate loggs to system out which should not be the case.

    sample:

    System.out I Hibernate: select this_.id as id6_2_, this_.alias as alias6_2_, this_.created as created6_ ....

    As we do not define a log4j property file I would be interested in howto bind the hibernate logging to s2ap defaults

    thanks

  2. #2
    Join Date
    Oct 2008
    Posts
    25

    Default

    <hibernate.show_sql>false</hibernate.show_sql> does the trick

  3. #3
    Join Date
    May 2008
    Location
    Berlin, Germany
    Posts
    36

    Default

    this may omit the overall logging of hibernate, but what i needed was the s2ap way to bind hibernate logging to their default logger.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •