Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Token '...' doesn't match specifier '%h' - log without IP v4/6 #1644
Spent several hours trying to figure this out. I get an error.
Could you help? Thank you.
Also tried many other variations but they don't work.
It seems the second field is mixed with a client host name and an IP address. Some items have a normal IP address. It is Apache2 log that the shared host gives and they prohibit the users from accessing http.conf. So I have no ways to change the format.
Seems like there is no workarounds at the moment.
What about implementing an ability to auto-detect of mixed usage of IP addresses and host names in a future release?
Thank you for your consideration.