A list of all the requests for individual files that people have requested from a Web site. The server access log records all requests processed by the server.
Questions tagged [access-log]
238 questions
2
votes
1 answer
WAMP limit log files size
Is there any functionality in wamp to limit the access and error log to 20 MB? i.e. it should be truncated after 20 MB.

user528194
- 23
- 3
2
votes
1 answer
Does WordPress preload pages?
While surfing my site and reviewing my server access logs, it appears the 'next' page in my site is served along with the page I navigated to (one click, two pages). Sometimes it does it in order, other times it appears to be random, grabbing…

user1508153
- 21
- 1
2
votes
5 answers
What to do with old access logs?
I have 51 GB of HTTP (Apache) access logs for my website going back five years. I'm sort of a hoarder, as far as my personality, which is why I am reluctant to delete them, even though it's taking up more disk space than I would like. Should I bite…

Josh Tauberer
- 161
- 5
1
vote
3 answers
Unix/CentOS how to parse access_log and log any matches to file
I have running in background (SSH)
tail -f access_log | grep 'POST /index.php' > test &
I ran this command inside /var/log/httpd where the access_log and error_log is stored.
I keep doing ls -l to see if test file changed size but it's created.. and…

SSpoke
- 5,656
- 10
- 72
- 124
1
vote
1 answer
Lighttpd mod_accesslog cannot display Request_URI with custom error pages
I need some help to customize my access log on Lighttpd 1.4.28. So far I have been able to modify the configuration to display the date in a strftime(3) format. The default date format is just way too long. Here are the relevant lines from…

Temperage
- 711
- 1
- 8
- 17
1
vote
2 answers
nginx: Match multiple locations / disable access log without returning
I would like to disable access logging for some specific paths but still proxy it to another container. In other words "match multiple locations without returning/exiting" which is not possible as far as I know.
The following config will make nginx…

romanzipp
- 1,578
- 3
- 10
- 13
1
vote
1 answer
Unusual entry in apache access logs
I see this entry in my apache access log, is anyone having an Idea what does it mean?
195.54.160.149 - - [24/Dec/2021:17:30:03 +0000] "GET…

Aadam
- 1,521
- 9
- 30
- 60
1
vote
2 answers
Regex Help WIth Akamai Access Log - PHP
Can someone help me out with creating a regex expression in PHP to parse out the different fields within an Akamai access log. The first line below specifies the field names. Thanks!
#Fields: date time cs-ip cs-method cs-uri sc-status sc-bytes…

VinnyD
- 3,500
- 9
- 34
- 48
1
vote
0 answers
nginx access logs hang after it reach the limit
I use nginx as a container , and it looks like it reach the access logs limit and after 15 minutes of the run it hangs .
if I run nginx with acces_log off it works fine .
how can I solve the problem ?
I tried to use gzip=7 buffer=64k flush=3m; and…

Deeb Andrawis
- 41
- 3
1
vote
1 answer
How get logs for direct requests for jpg images in NGINX?
I want direct requests for jpg images files to be logged in access.log.
For example, someone directly accesses the image saved in my wordpress:
https://www. my domain /wp-content/uploads/2021/07/image.jpg
How can I see it in the log record? I have…
user16529240
1
vote
1 answer
How can I get the NCSARequestLog to roll over hourly?
Jetty provides the NCSARequestLog to log the requests. But this seems to rollover on a daily basis by default.
Is there an option to have this rollover on an hourly basis?
Or is there a way to provide a custom log appender for this?

Vinay
- 9
- 4
1
vote
1 answer
Springboot Webflux accesslog: What are the two numbers at the end please?
Small question regarding how to interpret a SpringBoot Webflux app access log please.
Currently, in my logs, more precisely access logs, I can see:
2021-07-31 13:46:19.913 INFO [service,,] 10 --- [or-http-epoll-1]…

PatPanda
- 3,644
- 9
- 58
- 154
1
vote
1 answer
Tomcat 9 access log does not show the username (i.e. %u) logged-in via HttpSession + JSP + Servlet
I want to include the username to localhost_access_log in Tomcat 9.
My LoginServlet is:
if(r1.next() && username.equals(r1.getString(1)) && ...) {
HttpSession session = request.getSession();
…

Jan
- 87
- 6
1
vote
1 answer
Request param is logged in access log with embedded jetty server of spring boot application
I have got an issue with my application, it logs request along with its query param which may contain sensitive data in access log. application is configured with logback.xml & embedded jetty.
jetty server is customized with below…

piyush vijayvargiya
- 87
- 1
- 11
1
vote
1 answer
Unable to get time taken in tomcat access logs for wso2am 3.1.0
We have followed up the steps in below documentation to collect suitable information about each requests time taken handled by the api manager, both at the tomcat access log and the API Gateway…

Kybernetes
- 11
- 1