mirror of
https://github.com/bisq-network/bisq-api-reference.git
synced 2026-01-26 17:33:33 +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 {
|
||||
var defaultFilename = defaultPropertiesFilename.get();
|
||||
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) {
|
||||
throw new IllegalStateException(ex);
|
||||
}
|
||||
@ -911,7 +915,11 @@ public abstract class AbstractBot {
|
||||
Properties properties = new java.util.Properties();
|
||||
try {
|
||||
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;
|
||||
} catch (FileNotFoundException ignored) {
|
||||
// Cannot happen here. Ignore FileNotFoundException because confFile.exists() == true.
|
||||
|
||||
@ -63,9 +63,11 @@ final class GrpcStubs {
|
||||
public void close() {
|
||||
try {
|
||||
if (!channel.isShutdown()) {
|
||||
log.info("Shutting down bot's grpc channel.");
|
||||
log.debug("Shutting down bot's grpc channel.");
|
||||
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) {
|
||||
throw new IllegalStateException(ex);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user