diff --git a/mysqlnd_azure_log.md b/mysqlnd_azure_log.md index 4f2452c..087de10 100644 --- a/mysqlnd_azure_log.md +++ b/mysqlnd_azure_log.md @@ -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.
- PHP CLI: Print to console.
- 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]