-
Notifications
You must be signed in to change notification settings - Fork 33
Closed
Labels
Milestone
Description
What version of aah are you using (aah --version)?
v0.11.4
Does this issue reproduce with the latest release?
not tested
What operating system are you using (such as macOS, Linux and Windows)?
Linux
What did you do?
added configuration:
server {
access_log {
enable = true
file = "logs/access.log"
pattern = "%clientip %custom:- %reqtime %reqmethod %requrl %reqproto %resstatus %ressize %restime %reqhdr:referer"
static_file = false
}
}What did you expect to see?
No static files in the access logs
What did you see instead?
Log entries for static .css, .jpg .js .gif files.
Using static_file = true logs every of these files twice, like:
xxx.xxx.xxx.xxx - 2018-10-30T17:01:44Z GET /favicon.ico HTTP/2.0 304 0 0.2215 -
xxx.xxx.xxx.xxx - 2018-10-30T17:01:44Z GET /favicon.ico HTTP/2.0 304 0 0.2310 -
while a generated, non static html request in both cases (static_file = true or false) gets logged once:
xxx.xxx.xxx.xxx - 2018-10-30T17:01:44Z GET / HTTP/2.0 200 4515 1.9657 -
Don't think it is a big issue, but want to report it.
Reactions are currently unavailable