mirror of
https://github.com/fluencelabs/dashboard
synced 2025-05-28 15:11:30 +00:00
logLevel = info
This commit is contained in:
parent
ddc8a92026
commit
c34a07b155
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user