mirror of
https://github.com/bisq-network/bisq-api-reference.git
synced 2026-05-21 12:34:14 +00:00
Move some log statements to debug level
This commit is contained in:
parent
8ed39eb8bf
commit
e87d3e3191
@ -890,7 +890,11 @@ public abstract class AbstractBot {
|
|||||||
try {
|
try {
|
||||||
var defaultFilename = defaultPropertiesFilename.get();
|
var defaultFilename = defaultPropertiesFilename.get();
|
||||||
properties.load(this.getClass().getClassLoader().getResourceAsStream(defaultFilename));
|
properties.load(this.getClass().getClassLoader().getResourceAsStream(defaultFilename));
|
||||||
log.info("Internal configuration loaded from {}.", defaultFilename);
|
if (this instanceof RegtestTradePaymentSimulator) {
|
||||||
|
log.debug("Internal configuration loaded from {}.", defaultFilename);
|
||||||
|
} else {
|
||||||
|
log.info("Internal configuration loaded from {}.", defaultFilename);
|
||||||
|
}
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
throw new IllegalStateException(ex);
|
throw new IllegalStateException(ex);
|
||||||
}
|
}
|
||||||
@ -911,7 +915,11 @@ public abstract class AbstractBot {
|
|||||||
Properties properties = new java.util.Properties();
|
Properties properties = new java.util.Properties();
|
||||||
try {
|
try {
|
||||||
properties.load(is);
|
properties.load(is);
|
||||||
log.info("External configuration loaded from {}.", confFile.getAbsolutePath());
|
if (this instanceof RegtestTradePaymentSimulator) {
|
||||||
|
log.debug("External configuration loaded from {}.", confFile.getAbsolutePath());
|
||||||
|
} else {
|
||||||
|
log.info("External configuration loaded from {}.", confFile.getAbsolutePath());
|
||||||
|
}
|
||||||
return properties;
|
return properties;
|
||||||
} catch (FileNotFoundException ignored) {
|
} catch (FileNotFoundException ignored) {
|
||||||
// Cannot happen here. Ignore FileNotFoundException because confFile.exists() == true.
|
// Cannot happen here. Ignore FileNotFoundException because confFile.exists() == true.
|
||||||
|
|||||||
@ -63,9 +63,11 @@ final class GrpcStubs {
|
|||||||
public void close() {
|
public void close() {
|
||||||
try {
|
try {
|
||||||
if (!channel.isShutdown()) {
|
if (!channel.isShutdown()) {
|
||||||
log.info("Shutting down bot's grpc channel.");
|
log.debug("Shutting down bot's grpc channel.");
|
||||||
channel.shutdown().awaitTermination(1, SECONDS);
|
channel.shutdown().awaitTermination(1, SECONDS);
|
||||||
log.info("Bot channel shutdown complete.");
|
log.debug("Bot channel shutdown complete.");
|
||||||
|
} else {
|
||||||
|
log.warn("Bot channel already shut down!");
|
||||||
}
|
}
|
||||||
} catch (InterruptedException ex) {
|
} catch (InterruptedException ex) {
|
||||||
throw new IllegalStateException(ex);
|
throw new IllegalStateException(ex);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user