• Resolved Fuyutski

    (@fuyutski)


    Hi team,

    Firstly — thanks for this excellent plugin. I have used it for years now, and it is certainly great at what it does.

    I’ve noticed on a site that I manage, that in the error_log, it keeps having the following frequently appear in the log:

    Array
    (
        [akismet_debug] => Array
            (
                [akismet_url] => https://e98d1efc9b4c.rest.akismet.com/1.1/comment-check
                [http_args] => Array
                    (
                        [body] => comment_post_ID=6423&comment_author=<Insert Spam Details here>
                        [headers] => Array
                            (
                                [Content-Type] => application/x-www-form-urlencoded; charset=UTF-8
                                [Host] => e98d1efc9b4c.rest.akismet.com
                                [User-Agent] => WordPress/4.4.1 | Akismet/3.1.7
                            )
    
                        [httpversion] => 1.0
                        [timeout] => 15
                    )
    
                [response] => Array
                    (
                        [headers] => Array
                            (
                                [server] => nginx
                                [date] => Mon, 11 Jan 2016 00:09:47 GMT
                                [content-type] => text/plain; charset=utf-8
                                [content-length] => 4
                                [connection] => close
                                [x-akismet-guid] => 0f9436e76451baa99719b5fd0aef2f09
                            )
    
                        [body] => true
                        [response] => Array
                            (
                                [code] => 200
                                [message] => OK
                            )
    
                        [cookies] => Array
                            (
                            )
    
                        [filename] =>
                    )
    
            )
    
    )

    Is there a way to turn this off from reporting?

    https://www.ads-software.com/plugins/akismet/

Viewing 1 replies (of 1 total)
  • Plugin Author Christopher Finke

    (@cfinke)

    You can either turn off WP_DEBUG_LOG in wp-config.php, or you can add a filter that returns false for the akismet_debug_log filter. e.g., add_filter( 'akismet_debug_log', '__return_false' );

Viewing 1 replies (of 1 total)
  • The topic ‘Akismet in error_log’ is closed to new replies.