php-fpm decorate_workers_output = no removes timestamp
Đang mở
@bukka đang làm issue này rồi.
Từ ngày 23/2/2023.
Feature
SAPI: fpm
- Ngôn ngữ chính
- C
- Star
- 40.4k
- Fork
- 8.2k
- Merge trung bình
- 2 ngày 13 giờ
- Pull request đã merge (30 ngày)
- 96
Mô tả
Description
The following code:
<?php
error_log('testing...');
- Note: all output is to the error_log file
Resulted in this output:
[22-Feb-2023 21:06:21] WARNING: [pool www] child 21211 said into stderr: "NOTICE: PHP message: testing..."
So in my www.conf file, I set this:
decorate_workers_output = no
Which resulted in this output:
NOTICE: PHP message: testing...
But I expected this output instead:
[22-Feb-2023 21:06:21] NOTICE: PHP message: testing...
Is there a way to keep the timestamp, but remove the rest of the worker decoration?
PHP Version
PHP 7.4.33
Operating System
Ubuntu 18.04.6
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Đánh giá
Issue này chưa được đánh giá.