This commit is contained in:
Aleksandr Statciuk 2022-01-10 00:34:05 +03:00
parent 299cf26cd6
commit ce525ed13c
13 changed files with 199 additions and 207 deletions

View file

@ -4,7 +4,6 @@ const _ = require('lodash')
const LOGS_DIR = process.env.LOGS_DIR || 'scripts/logs'
async function main() {
db.programs.reset()
const files = await file.list(`${LOGS_DIR}/load-cluster/cluster_*.log`)
for (const filepath of files) {
const results = await parser.parseLogs(filepath)