karlheyes / icecast-kh

KH branch of icecast
GNU General Public License v2.0
297 stars 105 forks source link

accesslog keeps growing even if loglevel is 1 #451

Open alexey-v-paramonov opened 6 days ago

alexey-v-paramonov commented 6 days ago

I have latest Icecast-kh configured like this:

    <logging>
        <accesslog>access_1.log</accesslog>
        <errorlog>error_1.log</errorlog>
        <loglevel>1</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
    </logging>

But the access log keep growing cause it has a lot of entries that look like this:

   ...
   [26/Jun/2024:20:00:07 +0000] "GET /status-json.xsl HTTP/1.1" 200 768 "-"
   ...

It does not seem like an error cause the response code is HTTP 200 OK, so it is not an error but Icecast keeps logging this and I think it only applies to status-json.xsl file.