logLevel = info

This commit is contained in:
folex 2021-11-25 12:24:02 +03:00
parent ddc8a92026
commit c34a07b155

View File

@ -32,7 +32,7 @@ const defaultNetworkName = 'testNet + krasnodar';
const defaultEnv = {
relays: [...testNet, ...krasnodar, ...stage],
relayIdx: 2,
logLevel: 'debug',
logLevel: 'info',
};
async function loadScript(script) {
@ -113,7 +113,7 @@ function genFlags(peerId, relays, relayIdx) {
(async () => {
const { relays, relayIdx, logLevel } = await initEnvironment();
setLogLevel('debug');
setLogLevel(logLevel);
await Fluence.start({ connectTo: relays[relayIdx].multiaddr });
const pid = Fluence.getStatus().peerId;
const flags = genFlags(pid, relays, relayIdx);