Skip to content

Commit

Permalink
Disable mysql general log
Browse files Browse the repository at this point in the history
  • Loading branch information
slider23 committed Apr 13, 2020
1 parent 8b5e466 commit 4c8ac1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ wnmp-dev это веб-окружение для Windows для php-разраб

Логи nginx - запросы к вебсерверу: `nginx/logs/domain.local-access.log`, ошибки соединения с php: `nginx/logs/domain.local-error.log`

Логи mysql - основной лог работы: `mysql57/data/mysql57.err`, лог медленных запросов: `mysql57/data/mysql57-slow.err`
Логи mysql - лог работы mysqld: `mysql57/data/mysql57.err`, лог медленных запросов: `mysql57/data/mysql57-slow.err`, лог всех запросов: `mysql57/data/mysql57.log` (по умолчанию выключен)

## Добавление новой версии php

Expand Down
2 changes: 1 addition & 1 deletion mysql57/my.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

# Logging
log-output=FILE
general-log=1
general-log=0
general_log_file="mysql57.log"
slow-query-log=1
slow_query_log_file="mysql57-slow.log"
Expand Down

0 comments on commit 4c8ac1b

Please sign in to comment.