The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    621
    Likes Received:
    6
    Trophy Points:
    18
    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?
     
    #1 postcd, Sep 28, 2014
    Last edited: Sep 28, 2014
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  3. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    621
    Likes Received:
    6
    Trophy Points:
    18
    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
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  5. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    621
    Likes Received:
    6
    Trophy Points:
    18
    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
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Could you provide additional information about the current issue you are facing?

    Thank you.
     
  7. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    621
    Likes Received:
    6
    Trophy Points:
    18
    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.
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  9. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    621
    Likes Received:
    6
    Trophy Points:
    18
    Im sorry, that is what im asking how to use them exactly. read my posts please
     
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  11. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    621
    Likes Received:
    6
    Trophy Points:
    18
    no, no, no issue atm
     
Loading...

Share This Page