What does the "Creating new state" message mean in logrotate ?

Solution Unverified - Updated -

Issue

  • logrotate outputs Creating new state messages like the following below when logrotate runs in debug mode.

    WARNING: logrotate in debug mode does nothing except printing debug messages!
    Consider using verbose mode (-v) instead if this is not what you want.
    
    reading config file httpd
    Reading state from file: /var/lib/logrotate/logrotate.status
    Allocating hash table for state file, size 64 entries
    Creating new state
    Creating new state
    Creating new state
    Creating new state
    Creating new state
    <snip>
    

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8

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