This commit is contained in:
GuuBu 2020-07-30 09:24:03 +08:00 коммит произвёл GitHub
Родитель d8e37b9f30
Коммит eb696306e6
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -22,7 +22,7 @@ Value | Behavior | Sample log
:----- | :------ | :-----
0 | Like logLevel control, it will turn off the log. No log will be print out. |
1 | Print logs using stderr. <br/> - PHP CLI: Print to console. <br/> - Works with Apache/Nginx: Will be discussed in seperate section below. | [2020-07-29 10:45:16] [MYSQLND_AZURE] [ERROR] CLIENT_SSL is not set when mysqlnd_azure.enableRedirect is ON
2 | Print logs to a pre-defined file by mysqlnd\_azure's config mysqlnd\_azure.logfilePath=xx.log. | [2020-07-29 10:46:16] [MYSQLND_AZURE] [ERROR] CLIENT_SSL is not set when mysqlnd_azure.enableRedirect is ON
2 | Print logs to a pre-defined file set by mysqlnd\_azure's config mysqlnd\_azure.logfilePath=xx.log. | [2020-07-29 10:46:16] [MYSQLND_AZURE] [ERROR] CLIENT_SSL is not set when mysqlnd_azure.enableRedirect is ON
Note: Nginx with PHP-FPM works similarly as the below corrensponding behavior.
@ -87,7 +87,7 @@ The mysqlnd_azure extension supports following log levels:
## Usage Example
> You can add to section [mysqlnd\_azure] in file `php.ini` as follows:
> You can add to section [mysqlnd\_azure] in file `php.ini` as follows, which uses logOutput=2 (logs to file logfilePath) and sets logLevel to most verbose level 3:
```
[mysqlnd_azure]