diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-06 10:34:29 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-20 15:27:16 +0200 |
commit | a92ddacb38a4a17e117ca9ed41680a03580fb81d (patch) | |
tree | 7b7fc6ef31e86870cee20b915e05c49af1910055 /shared/extra-utils/server | |
parent | f59545d97a80bf06025bf6343a80d834c7eb237f (diff) | |
download | PeerTube-a92ddacb38a4a17e117ca9ed41680a03580fb81d.tar.gz PeerTube-a92ddacb38a4a17e117ca9ed41680a03580fb81d.tar.zst PeerTube-a92ddacb38a4a17e117ca9ed41680a03580fb81d.zip |
Introduce logs command
Diffstat (limited to 'shared/extra-utils/server')
-rw-r--r-- | shared/extra-utils/server/servers.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shared/extra-utils/server/servers.ts b/shared/extra-utils/server/servers.ts index b64c9eec6..4343eab93 100644 --- a/shared/extra-utils/server/servers.ts +++ b/shared/extra-utils/server/servers.ts | |||
@@ -10,6 +10,7 @@ import { BulkCommand } from '../bulk' | |||
10 | import { CLICommand } from '../cli' | 10 | import { CLICommand } from '../cli' |
11 | import { CustomPagesCommand } from '../custom-pages' | 11 | import { CustomPagesCommand } from '../custom-pages' |
12 | import { FeedCommand } from '../feeds' | 12 | import { FeedCommand } from '../feeds' |
13 | import { LogsCommand } from '../logs' | ||
13 | import { buildServerDirectory, getFileSize, isGithubCI, root, wait } from '../miscs/miscs' | 14 | import { buildServerDirectory, getFileSize, isGithubCI, root, wait } from '../miscs/miscs' |
14 | import { makeGetRequest } from '../requests/requests' | 15 | import { makeGetRequest } from '../requests/requests' |
15 | 16 | ||
@@ -69,6 +70,7 @@ interface ServerInfo { | |||
69 | cliCommand?: CLICommand | 70 | cliCommand?: CLICommand |
70 | customPageCommand?: CustomPagesCommand | 71 | customPageCommand?: CustomPagesCommand |
71 | feedCommand?: FeedCommand | 72 | feedCommand?: FeedCommand |
73 | logsCommand?: LogsCommand | ||
72 | } | 74 | } |
73 | 75 | ||
74 | function parallelTests () { | 76 | function parallelTests () { |
@@ -278,6 +280,7 @@ async function runServer (server: ServerInfo, configOverrideArg?: any, args = [] | |||
278 | server.cliCommand = new CLICommand(server) | 280 | server.cliCommand = new CLICommand(server) |
279 | server.customPageCommand = new CustomPagesCommand(server) | 281 | server.customPageCommand = new CustomPagesCommand(server) |
280 | server.feedCommand = new FeedCommand(server) | 282 | server.feedCommand = new FeedCommand(server) |
283 | server.logsCommand = new LogsCommand(server) | ||
281 | 284 | ||
282 | res(server) | 285 | res(server) |
283 | }) | 286 | }) |