mirror of
https://github.com/fluencelabs/dashboard
synced 2025-05-29 15:41:30 +00:00
logLevel = info
This commit is contained in:
parent
ddc8a92026
commit
c34a07b155
@ -32,7 +32,7 @@ const defaultNetworkName = 'testNet + krasnodar';
|
|||||||
const defaultEnv = {
|
const defaultEnv = {
|
||||||
relays: [...testNet, ...krasnodar, ...stage],
|
relays: [...testNet, ...krasnodar, ...stage],
|
||||||
relayIdx: 2,
|
relayIdx: 2,
|
||||||
logLevel: 'debug',
|
logLevel: 'info',
|
||||||
};
|
};
|
||||||
|
|
||||||
async function loadScript(script) {
|
async function loadScript(script) {
|
||||||
@ -113,7 +113,7 @@ function genFlags(peerId, relays, relayIdx) {
|
|||||||
|
|
||||||
(async () => {
|
(async () => {
|
||||||
const { relays, relayIdx, logLevel } = await initEnvironment();
|
const { relays, relayIdx, logLevel } = await initEnvironment();
|
||||||
setLogLevel('debug');
|
setLogLevel(logLevel);
|
||||||
await Fluence.start({ connectTo: relays[relayIdx].multiaddr });
|
await Fluence.start({ connectTo: relays[relayIdx].multiaddr });
|
||||||
const pid = Fluence.getStatus().peerId;
|
const pid = Fluence.getStatus().peerId;
|
||||||
const flags = genFlags(pid, relays, relayIdx);
|
const flags = genFlags(pid, relays, relayIdx);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user