Skip to content

Delete logs periodicaly #80

@maghasemzadeh

Description

@maghasemzadeh

Handling views with too many calls is hard. There exists no procedure to delete records periodically. This would be a very useful feature to delete records of logs periodically.

Solution:
we could have a variable called delete_log_days_period in LoggingMixin that is None by default. If the programmer wants to delete that view API log reports that are for before delete_log_days_period days before now, he set this variable to an integer. then records are deleted periodically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions