how to remove "OPTIONS * HTTP/1.0" 200 - from logs?
Hello,
in this post, Infopro links to cpanelDon post where he link to article [url=http://wiki.apache.org/httpd/InternalDummyConnection]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:
as i dont think they are benefficial and only makind HDD bussy and fill space, am i wrong?
SetEnvIf Remote_Addr "127\.0\.0\.1" loopback
and then add env=!loopback to the end of your CustomLog directive.
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?
-
[quote="postcd, post: 1739462">as i dont think they are benefficial and only makind HDD bussy and fill space, am i wrong?
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.0 -
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 0 -
[quote="postcd, post: 1740322">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
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.0 -
those entries on their own might be helpful in the event you notice your server is under heavy load or a DOS attack.
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 cause0 -
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
Could you provide additional information about the current issue you are facing? Thank you.0 -
Could you provide additional information about the current issue you are facing?
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.0 -
Hello, please anyone know how exactly i can use these apache entries?
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.0 -
how you would like to use these entries?
Im sorry, that is what im asking how to use them exactly. read my posts please0 -
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. 0 -
are you under an attack, is your server load slow
no, no, no issue atm0
Please sign in to leave a comment.
Comments
10 comments