Browse Source

Fixed import slow log

bugfixes
gau1991 10 years ago
parent
commit
ac88dec934
  1. 2
      ee/cli/plugins/import_slow_log.py

2
ee/cli/plugins/import_slow_log.py

@ -24,7 +24,7 @@ class EEImportslowlogController(CementBaseController):
.format(EEVariables.ee_webroot)):
if os.path.isfile("/var/log/mysql/mysql-slow.log"):
# Get Anemometer user name and password
Log.error(self, "Importing MySQL slow log to Anemometer")
Log.info(self, "Importing MySQL slow log to Anemometer")
host = os.popen("grep -e \"\'host\'\" {0}22222/htdocs/"
.format(EEVariables.ee_webroot)
+ "db/anemometer/conf/config.inc.php "

Loading…
Cancel
Save