Results 1 to 4 of 4

Thread: Trace and Log file Date based rotation

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

    Default Trace and Log file Date based rotation

    Hi,

    When will Dm server provide date based rotation of trace files and log files.

    This is a very essential feature because, in its absence we need to provide alternate script which does the housekeeping for logs and becomes a maintenance overhead.

    Also curently teh rotation is based on file size(100 MB) and after four rotations,the file gets deleted , which will be diffficult to backup.

    In teh csae of date based rotation it simplifies backup process.

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

    Default

    just cam e accros this

    https://issuetracker.springsource.com/browse/DMS-23


    Hope it solves the rotation also

  3. #3
    Join Date
    Oct 2008
    Posts
    493

    Default

    This should now be possible in the latest dm Server 2.0 nightly builds. Take a look at the config/serviceability.xml file which configures the underlying LogBack instance that's used by Medic. You should be able to configure a TimeBasedRolloverPolicy, as described in the LogBack documentation.
    Andy Wilkinson
    SpringSource

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

    Default

    Thankz Andy ,I will surely check it out

Posting Permissions

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