We should use ``isdigit()`` and convert numerical values to integer not only `max_bytes` and `backup_count`.