Announcement Announcement Module
Collapse
No announcement yet.
Rolling of logging.log file Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Rolling of logging.log file

    I have two questions:

    when starting the dm server it put logs to two different places loggin.log and the console i there any way i can disable the console output or redirect to some other place

    what is the rolling configuration for the logging.log file

  • #2
    If you're running on 1.0.x, then there's no way to configure the rollover of logging.log. You can redirect the console output as you normally would when launching a process, e.g. to direct it to a file, or to /dev/null if you just want to refer to the file.

    We've improved this area of dm Server considerably in the latest 2.0 nightly builds. The config/serviceability.xml file controls the configuration of LogBack which is now used by dm Server under the covers. This means that, in 2.0, you can configure the output pretty much however you like, e.g. you can disable the console output simply by remove the reference to the ConsoleAppender.

    Comment


    • #3
      I am able to redirect the logs into another file using cronolog.


      But the problem is there are duplicates now . The same log is porinted into looging.log and also redirected log.

      Comment

      Working...
      X