Results 1 to 3 of 3

Thread: Rolling of logging.log file

  1. #1
    Join Date
    Nov 2008
    Posts
    232

    Default 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. #2
    Join Date
    Oct 2008
    Posts
    493

    Default

    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.
    Andy Wilkinson
    SpringSource

  3. #3
    Join Date
    Nov 2008
    Location
    London,UK
    Posts
    299

    Default

    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.

Posting Permissions

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