Announcement Announcement Module
Collapse
No announcement yet.
Logging Problem Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    I read your previous message, and supposed it would be easy to use custom config.
    Originally posted by dsklyut View Post
    To configure logging you are not limited to serviceability.xml. You can also deploy a logback.xml configuration together with your bundle. I am not sure if that logback.xml must be at the root of the bundle or in META-INF somewhere. I believe it is in the root. Can't remember.
    Originally posted by dsklyut View Post
    Is there a reason why you don't want to modify that file?
    Well I would prefer to deploy configuration with my application, without changing Spring DM Server config.

    Nevertheless, thanks for help.

    Comment


    • #17
      I also would prefer to include logging configuration in my application bundles without touching the server's config file, since it's specific to the application.
      I've spend hours on researching until I came across this thread.
      If anyone knows how to deal with this I would appreciate it.

      Comment


      • #18
        Ivan, you can try next steps:

        1. Remove slf4j.nop bundle from repository/ext folder.
        2. Add import of ch.qos.logback.classic and ch.qos.logback.core packages in your's application bundle.
        3. Put logback.xml in bundle classpath of your application's bundle.

        Comment

        Working...
        X