Okay
  Public Ticket #3776205
Assistance Required: Clearing Large Amelia Notifications Log File
Closed

Comments

  •  6
    Giam started the conversation

    Dear Amelia Support Team,

    I have noticed that the amelia_notifications_log file in my WordPress installation has grown significantly and is now 236.7 MB, which is impacting my site's performance and storage.

    Could you kindly assist with the following:

    1. Safe Removal Instructions: What is the recommended method to safely clear or truncate this log file without affecting the plugin's functionality?
    2. Retention Settings: Is there a way to configure or limit the size or retention period of this log file to prevent it from growing excessively in the future?
    3. Logging Control: If not already configurable, could you guide me on how to disable or adjust logging for notifications in the Amelia plugin?

    Your prompt assistance would be greatly appreciated, as this issue is becoming a concern for site performance. Please let me know if you need further details or access to investigate this further.

    Looking forward to your guidance.

    Regards,
    Giam

  •  1,550
    Uroš replied

    Hello Giam,

    Thank you for reaching out and for your patience.

    To address your concerns about the amelia_notifications_log file, here’s how you can proceed:

    1. Safe Removal Instructions

    You can safely clear the log file by deleting its records from the database. To do this:

    • Access your WordPress database via phpMyAdmin or a similar tool.

    • Locate the wp_amelia_notifications_log table (the prefix may vary depending on your setup).

    • Run the following SQL query to delete all records:

      sql
      Copy code
      DELETE FROM wp_amelia_notifications_log;

    This will empty the table without affecting the plugin's functionality.

    2. Retention Settings

    Currently, there is no built-in feature to configure the retention period or limit the size of this log file. This means manual cleanup may be required periodically to prevent it from growing excessively.

    3. Logging Control

    At the moment, it is not possible to disable or limit the logging of notifications within the Amelia plugin. The table will continue to be filled as notifications are sent. We recommend monitoring the size of the table regularly and performing periodic cleanups as described above.

    If you have any further questions or need assistance, feel free to reach out.

    Kind Regards, 

    Uros Jovanovic
    [email protected]

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables