Announcement Announcement Module
Collapse
No announcement yet.
Disable debug from org.springframework.data.mongodb.core.MongoDbUtils Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Disable debug from org.springframework.data.mongodb.core.MongoDbUtils

    I am trying to disable the one debug message: "16:16:05.358 [RMI TCP Connection(4)-168.179.61.168] DEBUG o.s.data.mongodb.core.MongoDbUtils - Getting Mongo Database name=[dbname]"

    I have tried using the following in the log4j.properties: log4j.logger.org.springframework.data.mongodb.core =INFO

    I have also tried to disable the commons-logging.Log using the following JVM settings: -Dorg.apache.commons.logging.Log=org.apache.commons .logging.impl.NoOpLog

    Nothing that I have tried has disabled the debug logging.

    Can anyone help to turn this off?

    Thanks in advance!

  • #2
    Please, move your question to the StackOverflow - we are going to close this forum soon and rely on SO.
    We need to clean this forum (old unanswered question) before close it.
    Thanks for understanding

    Comment

    Working...
    X