Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-306

Enable log rotation for diags.log

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.1.0
    • Logging

    Description

      (from yahoo bug 913896)

      Original description
      by Leif Hedstrom 3 years ago at 2006-12-04 12:42

      There might be reasons why this file might get filled up, e.g. libraries used by plugins producing output on STDOUT/STDERR. A few suggestions have been
      made, to somehow rotate traffic.out. One possible solution (suggested by Ryan) is to use cronolog (http://cronolog.org/), which seems like a fine idea.

      Comment 1
      by Joseph Rothrock 2 years ago at 2007-10-17 09:13:24

      Maybe consider rolling diags.log as well. -Feature enhancement.

      Comment 2
      by Kevin Dalley 13 months ago at 2009-03-04 15:32:18

      When traffic.out gets filled up, error.log stops filing up, even though rotation is turned on. This is
      counter-intuitive. Rotation does not control traffic.out, but a large traffic.out will stop error.log from being
      written.

      Attachments

        Issue Links

          Activity

            People

              danobi Daniel Xu
              mlibbey Miles Libbey
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Slack

                  Issue deployment