Replies: 2 comments 3 replies
-
Researching a bit more, I found out that this stdout stream is usable for reporting purposes as well, but it seems like none of the website access reporters can work with it. Supposedly because in docker land a php container is not supposed to log anything as the analysis would be done on the load balancer end of things. |
Beta Was this translation helpful? Give feedback.
3 replies
-
Inviting @captn3m0 as docker expert to this thread. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I wanted to open a discussion about access statistics and reporting of rssbridge.
The current docker image uses the official php image. The official images all softlink the access and error logs to STDOUT and STDERR.
See https://github.com/docker-library/php/blob/64811791f0682262478d73514819908fcfe73d7f/Dockerfile-apache-block-1.template#L34
In order to do any kind of reporting, those softlinks would need to be broken. We could then either map the folder to the host or just keep them living while the container is running (which would provide no history for the container other than the current run). The typical thing would be to create a volume called "rssbridgelogs" or so and map it to the log folder. This volume could then be used to create statistics by applications like AWStats and the like.
So, it may add some complexity (depending on how it's implemented) but might be very handy for some people, specially those running public instances.
Beta Was this translation helpful? Give feedback.
All reactions