[MXS-1327] set log-priority by maxadmin Created: 2017-07-26 Updated: 2017-10-23 Resolved: 2017-10-23 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | maxadmin |
| Affects Version/s: | 2.1.3 |
| Fix Version/s: | 2.2.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | make Yuan | Assignee: | Johan Wikman |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Centsos 6.7 |
||
| Description |
|
set log-priority by maxadmin ,But I Found did not take effect! |
| Comments |
| Comment by Johan Wikman [ 2017-07-26 ] | ||||||||
|
Could you please provide some additional details.
| ||||||||
| Comment by make Yuan [ 2017-07-26 ] | ||||||||
|
max-admin MaxScale> enable log-priority debug then
---
--- ********************************************** [root@bogon log]# ll ********************************************** [maxscale] | ||||||||
| Comment by markus makela [ 2017-07-26 ] | ||||||||
|
This is caused by the fact that debug logging is only enabled for debug builds due to the high performance impact it can cause. The command should not be accepted on non-debug builds and it should return an error. | ||||||||
| Comment by Johan Wikman [ 2017-10-19 ] | ||||||||
|
Changed into a bug-report. | ||||||||
| Comment by Johan Wikman [ 2017-10-23 ] | ||||||||
|
Not a bug as debug messages are enabled only if MaxScale has been built in debug mode. But now the user of maxadmin will get a warning about enabling debug logging having no effect if MaxScale is built in release mode. |