Hi,
I have pipedLogger configured for my access logs as attached.
However, when I tail -f the fifo, and hit the webserver with curl, nothing is logged.
I change this to NOT be a pipedLogger, and logs are written:
[root@eureka litespeed]# tail -f lsws-access.fifo
- 172.16.46.1 - - [24/Nov/2015:16:43:25 +1100] "GET /foo HTTP/1.1" 404 1148 "-" "curl/7.43.0"
- 172.16.46.1 - - [24/Nov/2015:16:43:26 +1100] "GET /foo HTTP/1.1" 404 1148 "-" "curl/7.43.0"
- 172.16.46.1 - - [24/Nov/2015:16:43:26 +1100] "GET /foo HTTP/1.1" 404 1148 "-" "curl/7.43.0"
- 172.16.46.1 - - [24/Nov/2015:16:43:26 +1100] "GET /foo HTTP/1.1" 404 1148 "-" "curl/7.43.0"
Any ideas on how to make this work would be appreciated.
Cheers,
Toki
I have pipedLogger configured for my access logs as attached.
However, when I tail -f the fifo, and hit the webserver with curl, nothing is logged.
I change this to NOT be a pipedLogger, and logs are written:
[root@eureka litespeed]# tail -f lsws-access.fifo
- 172.16.46.1 - - [24/Nov/2015:16:43:25 +1100] "GET /foo HTTP/1.1" 404 1148 "-" "curl/7.43.0"
- 172.16.46.1 - - [24/Nov/2015:16:43:26 +1100] "GET /foo HTTP/1.1" 404 1148 "-" "curl/7.43.0"
- 172.16.46.1 - - [24/Nov/2015:16:43:26 +1100] "GET /foo HTTP/1.1" 404 1148 "-" "curl/7.43.0"
- 172.16.46.1 - - [24/Nov/2015:16:43:26 +1100] "GET /foo HTTP/1.1" 404 1148 "-" "curl/7.43.0"
Any ideas on how to make this work would be appreciated.
Cheers,
Toki
Attachments
-
315 bytes Views: 3