Prosody log level debug for test environment.
This commit is contained in:
parent
62af899a50
commit
a4d671bf50
@ -110,7 +110,7 @@ async function getProsodyConfig (options: RegisterServerOptions): Promise<Prosod
|
||||
}
|
||||
const peertubeDomain = 'localhost'
|
||||
const paths = await getProsodyFilePaths(options)
|
||||
const logMode: LogMode = 'info'
|
||||
const logMode: LogMode = process.env.NODE_ENV === 'test' ? 'debug' : 'info'
|
||||
|
||||
const mucModules: ProsodyModuleConfig[] = []
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user