• plugin log entries are filling up my website error_log but they do not look like errors…

    [22-Jan-2019 04:44:21 UTC] HP-WOO-REWARDS: calling get_customer_points_details Customer ID: 1
    [22-Jan-2019 04:44:21 UTC] HP-WOO-REWARDS: Get : Array
    (
    [0] => Array
    (
    [order_id] =>
    [date] => 1548101040
    [event] => {points_label} adjusted by xxx Note: test
    [event_type] => 4
    [points] => +100
    )

    )

    [22-Jan-2019 04:44:21 UTC] replacing {points_label} adjusted by xxx Note: test with Points

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author hostplugin

    (@hostplugin)

    These are not errors, these are just logs that help me (aka the developer ?? ) to trace the problem, if there’s any as this is a very new plugin.

    Unfortunately, WP doesn’t have the ability to control verbosity level, so for now please either turn off debugging in your wp-config.php, or simply delete the error_log file.

    In the future, I’ll look into some other way for logging and will fix this problem.

    Thread Starter webfrontend

    (@webfrontend)

    This is the regular logging setting as debugging isn’t turned on. If there’s an issue with a site I check the error log to see if anything can help. I guess I will just have to scroll through the HP-WOO-REWARDS entries to look for other errors.

    Other than that, thanks for the plugin it is working very well. Cheers!

    Thread Starter webfrontend

    (@webfrontend)

    Suggestion: add a Debugging checkbox to the settings and if-statement all those error_log() entries or set it up to only write to the error log on your development setup and not live.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Website log filling up with HP-WOO-REWARDS entries’ is closed to new replies.