Browse Source

🐳 chore(MySQL): 修改MySQL日志输出路径

Pchen. 8 months ago
parent
commit
338ee6317e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugin/DataBase/MySQL.js

+ 1 - 1
plugin/DataBase/MySQL.js

@@ -8,7 +8,7 @@ class MySQL {
         this.config = config.database;
         this.config = config.database;
         this.connection = null;
         this.connection = null;
 
 
-        this.logger = new Logger(path.join(__dirname, '../logs/MySQL.log'), 'INFO')
+        this.logger = new Logger(path.join(__dirname, '../../logs/MySQL.log'), 'INFO')
     }
     }
 
 
     async connect() {
     async connect() {