简体   繁体   中英

Direct php.ini error_log and access_log to stdout

I want to direct error_log and access_log in php.ini to stdout. My OS is windows 10. Is it possible?

To output logs in docker, write them to /dev IE:

error_log /dev/stderr

Cheers!

Note that, when it comes to the official php Docker image , action is no longer required:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM