Code Monkey home page Code Monkey logo

Comments (4)

renatomefi avatar renatomefi commented on August 10, 2024

Hey @acim, in my experience we see it in both containers, nginx and fpm! It's a bit annoying indeed, I never tried to disable the logs from fpm itself, but if it's possible it should be configurable in the php config! I'll try to take a look!

By the way, if you have split nginx and fpm I'd recommend you to look into: https://github.com/usabilla/php-docker-template

from php-fpm-healthcheck.

acim avatar acim commented on August 10, 2024

I set /health endpoint to nginx and have no logs there, so this is why my nginx is quite. However, php-fpm bloats the access log 😄 Thank you.

I didn't know about this project, but I have already connected nginx and php-fpm by UNIX sock.

from php-fpm-healthcheck.

johnzzon avatar johnzzon commented on August 10, 2024

I'm also interested to know if this is possible. We also only see the log in the php-fpm container.

We use the healthcheck mainly to check startup readiness. While there is startupProbe in Kubernetes, we run on OpenShift where this is not yet available (except as an alpha feature which we are hesitant to enable).

If you find a way to disable logging for the healthcheck please let me know!

from php-fpm-healthcheck.

wandersonwhcr avatar wandersonwhcr commented on August 10, 2024

Hi everyone!

Unfortunately, the output responsible is php-fpm and not our healthcheck.

BTW, there's a thread inside PHP to implement this.

https://bugs.php.net/bug.php?id=80428

I will close this old issue. If you need more help let me know.

from php-fpm-healthcheck.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.