Update mysqlnd_azure_log.md
This commit is contained in:
Родитель
d8e37b9f30
Коммит
eb696306e6
|
@ -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]
|
||||
|
|
Загрузка…
Ссылка в новой задаче