• Resolved suyog3p

    (@suyog3p)


    Hello team, is there any option to send email to admin or owner of the site for daily error log? From the tab WooCOmmerce > Status > Logs?

    • This topic was modified 1 year, 3 months ago by suyog3p.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    Yes, WooCommerce has a built-in feature that allows you to send email notifications to the site admin or owner for daily error logs.

    Here’s how you can set it up:

    1. Enable Error Logging: Go to WooCommerce > Status > Logs. Under the “Error Log” section, make sure the “Enable error logging” option is checked. This will start keeping track of error logs.
    2. Configure Email Notifications: Below the “Enable error logging” option, you’ll find “Error log email notifications.” Enable this option.
    3. Email Recipients: WooCommerce will send the error log emails to the site administrator’s email address. It uses the admin email set in WordPress settings (WooCommerce > Settings > General > Store Address).
    4. Schedule: WooCommerce, by default, will send a daily summary of the error logs to the admin/owner’s email.
    5. Log Contents: The email will contain a summary of the errors encountered on your WooCommerce store during the day.

    Remember, it’s crucial to keep your WooCommerce and other plugins updated to the latest versions to ensure the latest features, security, and bug fixes are in place. Always check the official WooCommerce documentation or your website’s admin panel for the most accurate and up-to-date instructions related to your specific software version.

    Thread Starter suyog3p

    (@suyog3p)

    Hi, Thank you for your reply, however, there is no “Configure Email Notification” in the Logs tab. Screenshot: https://prnt.sc/G1iLWqN_rI1O

    Plugin Support Beauty of Code (woo-hc)

    (@beautyofcode)

    Hi @suyog3p ,

    Thanks for reaching out!

    If I understand correctly, you would like to be emailed the error log on a daily basis, is this correct?

    Kindly note that this is not a default option within WooCommerce core and custom code or a plugin would be required.

    I have done some checking and the code snippet provided in this article may be helpful:

    Just to add – if you have any ideas that could improve the WooCommerce core plugin, feel free to submit an Enhancement request.

    Cheers!

    Thread Starter suyog3p

    (@suyog3p)

    Yes, that’s right. And thank you for the php code! @beautyofcode I will test that.

    Thanks again!

    Plugin Support Beauty of Code (woo-hc)

    (@beautyofcode)

    Hi @suyog3p ,

    You are very welcome, happy to help!

    Should the snippet not produce the desired results on your end, you can look at?hiring a developer?or ask your customization questions in one of the channels below:

    Hope this helps!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Email error log daily to admin or owner’ is closed to new replies.