}
async waitUntilLog (str: string, count = 1, strictCount = true) {
- const logfile = this.server.servers.buildDirectory('logs/peertube.log')
+ const logfile = this.buildDirectory('logs/peertube.log')
while (true) {
const buf = await readFile(logfile)
return this.buildDirectory(join('streaming-playlists', 'hls', videoUUID, basename(fileUrl)))
}
+ getLogContent () {
+ return readFile(this.buildDirectory('logs/peertube.log'))
+ }
+
async getServerFileSize (subPath: string) {
const path = this.server.servers.buildDirectory(subPath)