@@ -91,7 +91,9 @@ wpgraphql-logging/
9191│ ├── Admin/ # Admin settings, menu, and settings page logic
9292│ ├── Settings/ # Admin settings functionality for displaying and saving data.
9393│ ├── Events/ # Event logging, pub/sub event manager for extending the logging.
94- │ ├── Logging/ # Logging logic, logger service, Monolog handlers & processors
94+ │ ├── Logger/ # Logging logic, logger service, Monolog handlers & processors
95+ │ ├── Rules/ # Rule Management on whether we log a query
96+ │ ├── Scheduler/ # Automated data cleanup and maintenance tasks
9597│ ├── Plugin.php # Main plugin class (entry point)
9698│ └── Autoload.php # PSR-4 autoloader
9799├── tests/ # All test suites
@@ -119,6 +121,12 @@ wpgraphql-logging/
119121- ** Monolog-powered logging pipeline**
120122 - Default handler: stores logs in a WordPress table (` {$wpdb->prefix}wpgraphql_logging ` ).
121123
124+ - ** Automated data management**
125+ - ** Daily cleanup scheduler** : Automatically removes old logs based on retention settings.
126+ - ** Configurable retention period** : Set how many days to keep log data (default: 30 days).
127+ - ** Manual cleanup** : Admin interface to trigger immediate cleanup of old logs.
128+ - ** Data sanitization** : Remove sensitive fields from logged data for privacy compliance.
129+
122130- ** Simple developer API**
123131 - ` Plugin::on() ` to subscribe, ` Plugin::emit() ` to publish, ` Plugin::transform() ` to modify payloads.
124132
0 commit comments