# Does percona change slow\_query\_log automatically?

**URL:** <https://forums.percona.com/t/does-percona-change-slow-query-log-automatically/6585>\
**Category:** Other MySQL® Questions\
**Created:** [September 19, 2018, 8:16am UTC](https://forums.percona.com/t/does-percona-change-slow-query-log-automatically/6585 "2018-09-19T08:16:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alopez](https://avatars.discourse-cdn.com/v4/letter/a/97f17d/32.png) [@alopez](https://forums.percona.com/u/alopez)\
**Post date:** [September 19, 2018, 8:16am UTC](https://forums.percona.com/t/does-percona-change-slow-query-log-automatically/6585/1 "2018-09-19T08:16:34Z")

</div>

Hello everybody, this is my first post so I do not know if I am posting in the right place :o I am a percona’s noob and I want to set slow\_query\_log OFF. So inside my my.conf file is set OFF. I also checked percona’s config files but I randomly detect this variable is been set ON. I forced a change with my server up: mysql\> set global slow\_query\_log = 0; Query OK, 0 rows affected (0.00 sec) mysql\> show global variables like ‘slow\_query\_log’; ±---------------±------+ | Variable\_name | Value | ±---------------±------+ | slow\_query\_log | OFF | ±---------------±------+ 1 row in set (0.01 sec) But a few hours later I found it ON again. I had logged changes 1 hour and 11 hours later after the last change. mysql\> show global variables like ‘slow\_query\_log’; ±---------------±------+ | Variable\_name | Value | ±---------------±------+ | slow\_query\_log | ON | ±---------------±------+ So, I just want to know if pnn is enabling this variable ON or it is changed by any chron process or something similar. I also would thank any help to force slow\_query\_log to OFF Cheers 🙂
