Magediary

Is it possible to delete old log periodically?

Yes, old log can be delete periodically only if you set from the Magento backend configuration.
Store ⟶ Configuration ⟶ Magediary ⟶ Command Runner ⟶ Log ⟶ Auto Clean