tag:support.pimpmylog.com,2013-12-07:/discussions/problems/210-regex-log-pathPimp my Log: Discussion 2018-10-19T09:23:44Ztag:support.pimpmylog.com,2013-12-07:Comment/432918052017-08-25T21:44:54Z2017-08-25T21:44:57Zregex log path<div><p>i created 2 access_log, it own web site and it adds to all sites as well. but i dont like it, like i want to not include stats.patrikx3.com, since that is my pimp my log, and i see that all the time, so i can't see my own others which are important.</p></div>alabardtag:support.pimpmylog.com,2013-12-07:Comment/432918052017-08-25T21:49:42Z2017-08-25T21:49:44Zregex log path<div><p>as well, i added<br></p>
<pre>
<code>"exclude": {
"URL": ["\/favicon.ico\/","\/stats.patrikx3.com", "\/\.pml\.php\.*$\/"],
"CMD": ["\/OPTIONS\/"]
}</code>
</pre>
but it still shows stats.patrikx3.com logs.</div>alabardtag:support.pimpmylog.com,2013-12-07:Comment/432918052017-08-26T09:31:44Z2017-08-26T09:31:44Zregex log path<div><p>Hi,</p>
<p>this is an array of regex so you should write :</p>
<pre>
<code>"exclude": {
"URL": ["\/favicon.ico\/","\/stats\.patrikx3\.com\/", "\/\.pml\.php\.*$\/"],
"CMD": ["\/OPTIONS\/"]
}</code>
</pre></div>potskytag:support.pimpmylog.com,2013-12-07:Comment/432918052017-08-26T16:54:57Z2017-08-26T16:54:57Zregex log path<div><p>ok, that works, thanks so much!</p></div>alabard