Why my Ansible Tower Logs Are Not Rotating Properly?

Solution Verified - Updated -

Issue

  • I see that my Ansible Tower logfiles are not rotating as should be expected.

    Example:

    -rw-r--r--. 1 awx  awx       315 Mar 25 10:14 tower.log
    -rw-r--r--. 1 awx  awx       145 Mar 25 10:14 tower.log.1
    -rw-r--r--. 1 awx  awx       315 Mar 25 09:14 tower.log.2
    -rw-r--r--. 1 awx  awx       145 Mar 25 09:14 tower.log.3
    -rw-r--r--. 1 awx  awx        89 Mar 25 08:53 tower.log.4
    -rw-r--r--. 1 awx  awx       158 Mar 25 08:14 tower.log.5
    

Environment

  • Ansible Tower < 3.8.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content