mirror of https://github.com/status-im/js-waku.git
test: set nwaku logs to trace
Can now be done via command line argument.
This commit is contained in:
parent
a372307a30
commit
909a8f94c2
|
@ -40,7 +40,7 @@
|
|||
"pretest": "run-s pretest:*",
|
||||
"pretest:1-init-git-submodules": "[ -f '../../nwaku/build/wakunode2' ] || git submodule update --init --recursive",
|
||||
"pretest:2-build-nwaku": "[ -f '../../nwaku/build/wakunode2' ] || run-s nwaku:build",
|
||||
"nwaku:build": "(PROC=$(nproc --all 2>/dev/null || echo 2); cd ../../nwaku; make -j$PROC update; NIMFLAGS=\"-d:chronicles_colors=off -d:chronicles_sinks=textlines -d:chronicles_log_level=TRACE\" make -j$PROC wakunode2)",
|
||||
"nwaku:build": "(PROC=$(nproc --all 2>/dev/null || echo 2); cd ../../nwaku; make -j$PROC update; NIMFLAGS=\"-d:chronicles_colors=off -d:chronicles_sinks=textlines\" make -j$PROC wakunode2)",
|
||||
"nwaku:force-build": "(cd ../../nwaku && rm -rf ./build/ ./vendor) && run-s nwaku:build",
|
||||
"check": "run-s check:*",
|
||||
"check:prettier": "prettier . --list-different",
|
||||
|
|
|
@ -443,7 +443,7 @@ export function defaultArgs(): Args {
|
|||
rpcAdmin: true,
|
||||
websocketSupport: true,
|
||||
storeMessageDbUrl: "sqlite://:memory:",
|
||||
logLevel: LogLevel.Debug,
|
||||
logLevel: LogLevel.Trace,
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ describe("nwaku", () => {
|
|||
"--rpc-admin=true",
|
||||
"--websocket-support=true",
|
||||
"--store-message-db-url=sqlite://:memory:",
|
||||
"--log-level=DEBUG",
|
||||
"--log-level=TRACE",
|
||||
"--ports-shift=42",
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in New Issue