aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/server/servers.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-06 10:34:29 +0200
committerChocobozzz <me@florianbigard.com>2021-07-20 15:27:16 +0200
commita92ddacb38a4a17e117ca9ed41680a03580fb81d (patch)
tree7b7fc6ef31e86870cee20b915e05c49af1910055 /shared/extra-utils/server/servers.ts
parentf59545d97a80bf06025bf6343a80d834c7eb237f (diff)
downloadPeerTube-a92ddacb38a4a17e117ca9ed41680a03580fb81d.tar.gz
PeerTube-a92ddacb38a4a17e117ca9ed41680a03580fb81d.tar.zst
PeerTube-a92ddacb38a4a17e117ca9ed41680a03580fb81d.zip
Introduce logs command
Diffstat (limited to 'shared/extra-utils/server/servers.ts')
-rw-r--r--shared/extra-utils/server/servers.ts3
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'
10import { CLICommand } from '../cli' 10import { CLICommand } from '../cli'
11import { CustomPagesCommand } from '../custom-pages' 11import { CustomPagesCommand } from '../custom-pages'
12import { FeedCommand } from '../feeds' 12import { FeedCommand } from '../feeds'
13import { LogsCommand } from '../logs'
13import { buildServerDirectory, getFileSize, isGithubCI, root, wait } from '../miscs/miscs' 14import { buildServerDirectory, getFileSize, isGithubCI, root, wait } from '../miscs/miscs'
14import { makeGetRequest } from '../requests/requests' 15import { 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
74function parallelTests () { 76function 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 })