aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/parse-log.ts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/parse-log.ts')
-rwxr-xr-xscripts/parse-log.ts7
1 files changed, 2 insertions, 5 deletions
diff --git a/scripts/parse-log.ts b/scripts/parse-log.ts
index 6cd3a1860..d3c93cee5 100755
--- a/scripts/parse-log.ts
+++ b/scripts/parse-log.ts
@@ -1,15 +1,12 @@
1import { registerTSPaths } from '../server/helpers/register-ts-paths'
2registerTSPaths()
3
4import { program } from 'commander' 1import { program } from 'commander'
5import { createReadStream, readdir } from 'fs-extra' 2import { createReadStream, readdir } from 'fs-extra'
6import { join } from 'path' 3import { join } from 'path'
7import { createInterface } from 'readline' 4import { createInterface } from 'readline'
5import { format as sqlFormat } from 'sql-formatter'
6import { inspect } from 'util'
8import * as winston from 'winston' 7import * as winston from 'winston'
9import { labelFormatter, mtimeSortFilesDesc } from '../server/helpers/logger' 8import { labelFormatter, mtimeSortFilesDesc } from '../server/helpers/logger'
10import { CONFIG } from '../server/initializers/config' 9import { CONFIG } from '../server/initializers/config'
11import { inspect } from 'util'
12import { format as sqlFormat } from 'sql-formatter'
13 10
14program 11program
15 .option('-l, --level [level]', 'Level log (debug/info/warn/error)') 12 .option('-l, --level [level]', 'Level log (debug/info/warn/error)')