Comments (2)
Here's a breakdown of most of the different log types:
# ENTRYPOINT ["/opt/startup.sh"] (stdout, ok, why not)
cli_1 | Y-m-d H:i:s | Enabling xdebug...
...
# supervisord (ok, why not)
cli_1 | Y-m-d H:i:s,275 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
...
# fpm via supervisord (not useful)
cli_1 | Y-m-d H:i:s,715 DEBG 'php-fpm' stderr output:
cli_1 | [Y-m-d H:i:s] NOTICE: fpm is running, pid 830
...
# fpm request via supervisord (not useful)
Y-m-d H:i:s,237 DEBG 'php-fpm' stderr output:
1.1.1.1 - 01/Jan/2003:00:00:00 +0000 "GET /index.php" 200
# Drupal via log_stdout >php-fpm > supervisord (most useful)
cli_1 | YYYY-MM-DD HH:nn:ss,565 DEBG 'php-fpm' stderr output:
cli_1 | DRUPAL|https://test.docksal.site|1693571485|image|1.1.1.1|.....
Here's my fix on .docksal/etc/php/php-fpm.conf
:
; PHP FPM settings
[global]
; keep php-fpm quiet
log_level = error
...
[www]
; Do not log php-fpm accesses (see web container for http access)
access.log = /dev/null
from service-cli.
Makes sense. Working on a PR to incorporate these suggestions (and more).
from service-cli.
Related Issues (20)
- Need support to install google-chrome in cli container HOT 25
- Drop PHP 7.3
- Terminus v3 and automated login HOT 3
- Ruby version installed doesn't match documentation for release php7.4-3.0 HOT 3
- Mail is not beeing sent when additional parameter is not set when using Mailhog HOT 5
- Switch to Debian 11.0 (bullseye) base image
- CLI image PHP7.4-3.0 has no bundler HOT 1
- Python pip is missing in the v3 images
- Global composer install not setting allowed plugins HOT 1
- "Check custom startup script" sporadic failures in Github Actions CI
- Docker Content Trust for docksal Docker images
- Drupal warning with Php < 8.1.6 HOT 1
- PHP 8.2 HOT 3
- Fix bundled Drush deprecation notices in PHP 8.2 image HOT 2
- ImageMagick 7 HOT 1
- Drop drush-launcher installation from cli container HOT 1
- PHP 8.3 HOT 1
- Stable upstream for PHP 8.3? HOT 2
- Switch to Yarn 4 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from service-cli.