Score:0

apache2, I can't suppress this line from apache logs

ne flag

I've done this and other attempts, but not working for me:

<IfModule mod_ssl.c>
<VirtualHost *:443>
...
setEnvIf Request_URI "refresh.*" dontlog
CustomLog /home/alan/logs/apache.log common env=!dontlog
...
</VirtualHost>
</IfModule> 

this line in apache.log obs: the numbers after the refresh.php file, it's dynamic

123.123.123.123 - - [25/Sep/2021:06:54:41 -0300] "GET /test1/test2/refresh.php?_=1632563669417 HTTP/2.0" 200 75 "https://abc.def.com/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4636.22 Safari/537.36"

any suggestion, guys? thanks!

Romeo Ninov avatar
in flag
Try to remove the star (`*`) from the string after `Request_URI`
alanvictorjp avatar
ne flag
resolved, `TransferLog` was active on vhost, just commented.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.