Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

how to remove "OPTIONS * HTTP/1.0" 200 - from logs?

Discussion in 'EasyApache' started by postcd, Sep 28, 2014.

  1. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    694
    Likes Received:
    15
    Trophy Points:
    68
    Hello,

    in this post, Infopro links to cpanelDon post where he link to article InternalDummyConnection - Httpd Wiki

    in article is written that to exclude ""OPTIONS * HTTP/1.0" and similar log entries from Apache logs one should do add:

    Code:
    SetEnvIf Remote_Addr "127\.0\.0\.1" loopback
    and then add env=!loopback to the end of your CustomLog directive.[/QUOTE]
    
    but i dont understand on where to add it exactly on WHM centos 6 server, which file, any example please?
    
    My aim is to remove excessive entries from my /usr/local/apache/logs/access_log file:
    
    [QUOTE]::1 - - [28/Sep/2014:11:08:30 -0400] "OPTIONS * HTTP/1.0" 200 -
    ::1 - - [28/Sep/2014:11:08:30 -0400] "OPTIONS * HTTP/1.0" 200 -
    ::1 - - [28/Sep/2014:11:08:31 -0400] "OPTIONS * HTTP/1.0" 200 -
    ::1 - - [28/Sep/2014:11:08:31 -0400] "OPTIONS * HTTP/1.0" 200 -
    ::1 - - [28/Sep/2014:11:08:32 -0400] "OPTIONS * HTTP/1.0" 200 -
    ::1 - - [28/Sep/2014:11:08:32 -0400] "OPTIONS * HTTP/1.0" 200 -
    ::1 - - [28/Sep/2014:11:08:33 -0400] "OPTIONS * HTTP/1.0" 200 -
    ::1 - - [28/Sep/2014:11:08:33 -0400] "OPTIONS * HTTP/1.0" 200 -
    ::1 - - [28/Sep/2014:11:08:34 -0400] "OPTIONS * HTTP/1.0" 200 -
    ::1 - - [28/Sep/2014:11:08:34 -0400] "OPTIONS * HTTP/1.0" 200 -
    ::1 - - [28/Sep/2014:11:08:35 -0400] "OPTIONS * HTTP/1.0" 200 -
    ::1 - - [28/Sep/2014:11:08:35 -0400] "OPTIONS * HTTP/1.0" 200 -
    ::1 - - [28/Sep/2014:11:08:41 -0400] "OPTIONS * HTTP/1.0" 200 -
    ::1 - - [28/Sep/2014:11:08:41 -0400] "OPTIONS * HTTP/1.0" 200 -
    ::1 - - [28/Sep/2014:11:08:42 -0400] "OPTIONS * HTTP/1.0" 200 -
    ::1 - - [28/Sep/2014:11:08:42 -0400] "OPTIONS * HTTP/1.0" 200 -
    ::1 - - [28/Sep/2014:11:08:43 -0400] "OPTIONS * HTTP/1.0" 200 -
    ::1 - - [28/Sep/2014:11:08:43 -0400] "OPTIONS * HTTP/1.0" 200 -
    ::1 - - [28/Sep/2014:11:08:44 -0400] "OPTIONS * HTTP/1.0" 200 -
    ::1 - - [28/Sep/2014:11:08:44 -0400] "OPTIONS * HTTP/1.0" 200 -
    ::1 - - [28/Sep/2014:11:08:45 -0400] "OPTIONS * HTTP/1.0" 200 -
    ::1 - - [28/Sep/2014:11:08:45 -0400] "OPTIONS * HTTP/1.0" 200 -
    ::1 - - [28/Sep/2014:11:08:46 -0400] "OPTIONS * HTTP/1.0" 200 -
    ::1 - - [28/Sep/2014:11:08:46 -0400] "OPTIONS * HTTP/1.0" 200 -
    ::1 - - [28/Sep/2014:11:08:47 -0400] "OPTIONS * HTTP/1.0" 200 -
    ::1 - - [28/Sep/2014:11:08:47 -0400] "OPTIONS * HTTP/1.0" 200 -
    ::1 - - [28/Sep/2014:11:08:48 -0400] "OPTIONS * HTTP/1.0" 200 -
    ::1 - - [28/Sep/2014:11:08:48 -0400] "OPTIONS * HTTP/1.0" 200 -
    ::1 - - [28/Sep/2014:11:08:50 -0400] "OPTIONS * HTTP/1.0" 200 -
    ::1 - - [28/Sep/2014:11:08:50 -0400] "OPTIONS * HTTP/1.0" 200 -
    ::1 - - [28/Sep/2014:11:08:51 -0400] "OPTIONS * HTTP/1.0" 200 -
    ::1 - - [28/Sep/2014:11:08:51 -0400] "OPTIONS * HTTP/1.0" 200 -
    
    as i dont think they are benefficial and only makind HDD bussy and fill space, am i wrong?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #1 postcd, Sep 28, 2014
    Last edited: Sep 28, 2014
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,809
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Removing the output from the log isn't going to make that activity stop. It's simply not going to log it. You can find a post here that explains the purpose of that output:

    Options Request

    I don't suggest suppressing the logging, as it might be helpful in diagnosing an issue or attack in the future.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    694
    Likes Received:
    15
    Trophy Points:
    68
    So how i can achieve to see usefull access_lg information that were there before? The OPTIONS data currently there are not usefull to me
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,809
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    I believe you misunderstood. There won't be additional data, but those entries on their own might be helpful in the event you notice your server is under heavy load or a DOS attack. From what I understand, you are not actually experiencing that type of issue, but are simply curious about the entries correct?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    694
    Likes Received:
    15
    Trophy Points:
    68
    Hello, please anyone know how exactly i can use these apache entries? It do not contain any IP address. It just dont look that can help identiffy some cause
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,809
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Could you provide additional information about the current issue you are facing?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    694
    Likes Received:
    15
    Trophy Points:
    68
    Everything already mentioned in this topic.
    If you need anything specific, please do not afraid to mention which commands need to be executed via command line.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,809
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Could you provide specific details on how you would like to use these entries? The previous posts were from 2014, so I'm not clear on the current issue you are facing.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    694
    Likes Received:
    15
    Trophy Points:
    68
    Im sorry, that is what im asking how to use them exactly. read my posts please
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,809
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    To clarify, it's not abnormal to see these types of entries. Please explain the specific problem you are experiencing. For instance, are you under an attack, is your server load slow? We will need specific details to help troubleshoot the issue.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    694
    Likes Received:
    15
    Trophy Points:
    68
    no, no, no issue atm
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice