Installation and usage of the platform
Precise platform configuration: logging¶
The total logging level in a node is set in the logging-level
parameter in the node
section of the node configuration file. The specified value will be valid for all the loggers. You can override the logging level for the loggers you list in the node.loggers
configuration file section. For example:
node { ... # Application logging level. Could be DEBUG | INFO | WARN | ERROR. Default value is INFO. logging-level = DEBUG loggers { "com.wavesplatform.mining": "TRACE" } }
You can set the following logging levels:
ERROR
– error logging;
WARN
– warning logging;
INFO
– node events logging; this is the default value;
DEBUG
– extended information about the events for each running node module: a record of events that occurred and actions performed;
TRACE
– detailed information about the events of theDEBUG
level;
ALL
– displaying data from all logging levels.
Note
A very detailed logging level on a node can degrade performance, so it is recommended to use the INFO
level (at most the DEBUG
level) for the node as a whole (logging-level
parameter), and configure more detailed logging only for individual loggers.
Log storage¶
All the node logs are written to the
/node/data/log/we.log
file on the node. To work with this file, you need to enter the node container.
Logging management¶
The following REST API methods are provided to manage the logging levels of the node:
List of loggers¶
Below is a list of loggers available on the node.
List of loggers
ROOT-DEBUG
akka-DEBUG
akka.actor-DEBUG
akka.actor.LocalActorRef-DEBUG
akka.event-DEBUG
akka.event.slf4j-DEBUG
akka.event.slf4j.Slf4jLogger-DEBUG
com-DEBUG
com.github-DEBUG
com.github.dockerjava-DEBUG
com.github.dockerjava.api-DEBUG
com.github.dockerjava.api.async-DEBUG
com.github.dockerjava.api.async.ResultCallbackTemplate-DEBUG
com.github.dockerjava.api.command-DEBUG
com.github.dockerjava.api.command.PullImageResultCallback-DEBUG
com.github.dockerjava.core-DEBUG
com.github.dockerjava.core.command-DEBUG
com.github.dockerjava.core.command.AbstrDockerCmd-DEBUG
com.github.dockerjava.core.exec-DEBUG
com.github.dockerjava.core.exec.AuthCmdExec-DEBUG
com.github.dockerjava.core.exec.CreateContainerCmdExec-DEBUG
com.github.dockerjava.core.exec.InspectImageCmdExec-DEBUG
com.github.dockerjava.core.exec.PingCmdExec-DEBUG
com.github.dockerjava.core.exec.PullImageCmdExec-DEBUG
com.github.dockerjava.core.exec.RemoveContainerCmdExec-DEBUG
com.github.dockerjava.core.exec.StartContainerCmdExec-DEBUG
com.github.dockerjava.jaxrs-DEBUG
com.github.dockerjava.jaxrs.JerseyDockerHttpClient-DEBUG
com.github.dockerjava.jaxrs.JerseyDockerHttpClient$1-DEBUG
com.github.dockerjava.jaxrs.filter-DEBUG
com.github.dockerjava.jaxrs.filter.LoggingFilter-DEBUG
com.github.dockerjava.jaxrs.filter.ResponseStatusExceptionFilter-DEBUG
com.wavesenterprise-DEBUG
com.wavesenterprise.AppSchedulers-DEBUG
com.wavesenterprise.AppSchedulers$-DEBUG
com.wavesenterprise.CorporateAppSchedulers-DEBUG
com.wavesenterprise.CorporateApplication-DEBUG
com.wavesenterprise.CorporateApplication$-DEBUG
com.wavesenterprise.CorporateApplication$$anon-DEBUG
com.wavesenterprise.CorporateApplication$$anon$1-DEBUG
com.wavesenterprise.ResourceAvailability-DEBUG
com.wavesenterprise.ResourceAvailability$-DEBUG
com.wavesenterprise.api-DEBUG
com.wavesenterprise.api.grpc-DEBUG
com.wavesenterprise.api.grpc.CorporateCompositeGrpcService-DEBUG
com.wavesenterprise.api.grpc.service-DEBUG
com.wavesenterprise.api.grpc.service.BlockchainEventsServiceImpl-DEBUG
com.wavesenterprise.api.http-DEBUG
com.wavesenterprise.api.http.CorporateCompositeHttpService-DEBUG
com.wavesenterprise.api.http.CorporateTransactionsApiRoute-DEBUG
com.wavesenterprise.api.http.service-DEBUG
com.wavesenterprise.api.http.service.PrivacyApiService-DEBUG
com.wavesenterprise.consensus-DEBUG
com.wavesenterprise.consensus.MinerBanHistoryV2-DEBUG
com.wavesenterprise.consensus.PoAConsensus-DEBUG
com.wavesenterprise.consensus.WarnFaultyMiners-DEBUG
com.wavesenterprise.crypto-DEBUG
com.wavesenterprise.crypto.internals-DEBUG
com.wavesenterprise.crypto.internals.gost-DEBUG
com.wavesenterprise.crypto.internals.gost.GostAlgorithms-DEBUG
com.wavesenterprise.crypto.internals.gost.GostCryptoContext-DEBUG
com.wavesenterprise.crypto.internals.gost.GostCryptoContext$-DEBUG
com.wavesenterprise.crypto.internals.gost.GostCryptoContext$$anon-DEBUG
com.wavesenterprise.crypto.internals.gost.GostCryptoContext$$anon$1-DEBUG
com.wavesenterprise.crypto.internals.gost.GostCryptoTools-DEBUG
com.wavesenterprise.database-DEBUG
com.wavesenterprise.database.migration-DEBUG
com.wavesenterprise.database.migration.SchemaManager-DEBUG
com.wavesenterprise.database.rocksdb-DEBUG
com.wavesenterprise.database.rocksdb.Listeners-DEBUG
com.wavesenterprise.database.rocksdb.Listeners$-DEBUG
com.wavesenterprise.database.rocksdb.RocksDBStorage-DEBUG
com.wavesenterprise.database.rocksdb.RocksDBStorage$-DEBUG
com.wavesenterprise.database.rocksdb.RocksDBWriter-DEBUG
com.wavesenterprise.docker-DEBUG
com.wavesenterprise.docker.CorporateGrpcContractExecutor-DEBUG
com.wavesenterprise.docker.DockerEngineImpl-DEBUG
com.wavesenterprise.docker.MinerTransactionsExecutor-DEBUG
com.wavesenterprise.docker.grpc-DEBUG
com.wavesenterprise.docker.grpc.service-DEBUG
com.wavesenterprise.docker.grpc.service.ContractServiceImpl-DEBUG
com.wavesenterprise.docker.validator-DEBUG
com.wavesenterprise.docker.validator.ExecutableTransactionsValidator-DEBUG
com.wavesenterprise.http-DEBUG
com.wavesenterprise.http.HealthCheckerStateful-DEBUG
com.wavesenterprise.license-DEBUG
com.wavesenterprise.license.LicenseChecker-DEBUG
com.wavesenterprise.metrics-DEBUG
com.wavesenterprise.metrics.Metrics-DEBUG
com.wavesenterprise.metrics.Metrics$-DEBUG
com.wavesenterprise.mining-DEBUG
com.wavesenterprise.mining.CorporateMiner-DEBUG
com.wavesenterprise.mining.CorporateMiner$-DEBUG
com.wavesenterprise.mining.CorporateMiner$$anon-DEBUG
com.wavesenterprise.mining.CorporateMiner$$anon$2-DEBUG
com.wavesenterprise.mining.CorporateMinerTransactionsConfirmatory-DEBUG
com.wavesenterprise.mining.CorporateTransactionsAccumulator-DEBUG
com.wavesenterprise.network-DEBUG
com.wavesenterprise.network.Attributes-DEBUG
com.wavesenterprise.network.Attributes$-DEBUG
com.wavesenterprise.network.BlockLoader-DEBUG
com.wavesenterprise.network.CorporateHistoryReplier-DEBUG
com.wavesenterprise.network.CorporateInitialSyncNetworkClient-DEBUG
com.wavesenterprise.network.CorporateMicroBlockLoader-DEBUG
com.wavesenterprise.network.CorporateNetworkInitialSync-DEBUG
com.wavesenterprise.network.CorporateNetworkServer-DEBUG
com.wavesenterprise.network.EnabledTxBroadcaster-DEBUG
com.wavesenterprise.network.FatalErrorHandler-DEBUG
com.wavesenterprise.network.IdleConnectionDetector-DEBUG
com.wavesenterprise.network.NodeAttributesHandler-DEBUG
com.wavesenterprise.network.NodeAttributesSender-DEBUG
com.waveenterprise.network.P2PNetwork-DEBUG
com.wavesenterprise.network.P2PNetwork$-DEBUG
com.wavesenterprise.network.ScoringSyncChannelSelector-DEBUG
com.wavesenterprise.network.TrafficLogger-DEBUG
com.wavesenterprise.network.WriteErrorHandler-DEBUG
com.wavesenterprise.network.handshake-DEBUG
com.wavesenterprise.network.handshake.CorporateHandshakeHandler-DEBUG
com.wavesenterprise.network.handshake.CorporateHandshakeHandler$Client-DEBUG
com.wavesenterprise.network.handshake.CorporateHandshakeHandler$Server-DEBUG
com.wavesenterprise.network.handshake.HandshakeDecoder-DEBUG
com.wavesenterprise.network.handshake.HandshakeTimeoutHandler-DEBUG
com.wavesenterprise.network.netty-DEBUG
com.wavesenterprise.network.netty.handler-DEBUG
com.wavesenterprise.network.netty.handler.stream-DEBUG
com.wavesenterprise.network.netty.handler.stream.ChunkedWriteHandler-DEBUG
com.wavesenterprise.network.package-DEBUG
com.wavesenterprise.network.package$-DEBUG
com.wavesenterprise.network.peers-DEBUG
com.wavesenterprise.network.peers.PeerDatabaseImpl-DEBUG
com.wavesenterprise.network.peers.PeerSynchronizer-DEBUG
com.wavesenterprise.network.privacy-DEBUG
com.wavesenterprise.network.privacy.EnablePolicyDataReplier-DEBUG
com.wavesenterprise.network.privacy.EnablePolicyDataSynchronizer-DEBUG
com.wavesenterprise.network.privacy.EnablePolicyDataSynchronizer$-DEBUG
com.wavesenterprise.network.privacy.EnabledPrivacyMicroBlockHandler-DEBUG
com.wavesenterprise.network.privacy.PrivacyInventoryHandler-DEBUG
com.wavesenterprise.privacy-DEBUG
com.wavesenterprise.privacy.PolicyStorage-DEBUG
com.wavesenterprise.privacy.PolicyStorage$-DEBUG
com.wavesenterprise.privacy.db-DEBUG
com.wavesenterprise.privacy.db.PolicyPostgresStorageService-DEBUG
com.wavesenterprise.privacy.db.PostgresPolicyDao-DEBUG
com.wavesenterprise.privacy.db.SchemaMigration-DEBUG
com.wavesenterprise.privacy.db.SchemaMigration$-DEBUG
com.wavesenterprise.settings-DEBUG
com.wavesenterprise.settings.Gost-DEBUG
com.wavesenterprise.settings.Gost$-DEBUG
com.wavesenterprise.settings.Gost$$anon-DEBUG
com.wavesenterprise.settings.Gost$$anon$1-DEBUG
com.wavesenterprise.state-DEBUG
com.wavesenterprise.state.CorporateBlockchainUpdaterImpl-DEBUG
com.wavesenterprise.state.appender-DEBUG
com.wavesenterprise.state.appender.BaseAppender-DEBUG
com.wavesenterprise.state.appender.BaseAppender$-DEBUG
com.wavesenterprise.state.appender.CorporateBaseAppender-DEBUG
com.wavesenterprise.state.appender.CorporateBlockAppender-DEBUG
com.wavesenterprise.state.appender.MicroBlockAppender-DEBUG
com.wavesenterprise.transaction-DEBUG
com.wavesenterprise.transaction.TransactionFactory-DEBUG
com.wavesenterprise.transaction.TransactionFactory$-DEBUG
com.wavesenterprise.transaction.smart-INFO
com.wavesenterprise.utils-DEBUG
com.wavesenterprise.utils.NTP-DEBUG
com.wavesenterprise.utx-DEBUG
com.wavesenterprise.utx.CorporateUtxPool-DEBUG
com.wavesenterprise.wallet-DEBUG
com.wavesenterprise.wallet.WalletImpl-DEBUG
com.zaxxer-DEBUG
com.zaxxer.hikari-DEBUG
com.zaxxer.hikari.HikariConfig-DEBUG
com.zaxxer.hikari.HikariDataSource-DEBUG
com.zaxxer.hikari.pool-DEBUG
com.zaxxer.hikari.pool.HikariPool-DEBUG
com.zaxxer.hikari.pool.PoolBase-DEBUG
com.zaxxer.hikari.pool.PoolEntry-DEBUG
com.zaxxer.hikari.pool.ProxyConnection-DEBUG
com.zaxxer.hikari.pool.ProxyLeakTask-DEBUG
com.zaxxer.hikari.util-DEBUG
com.zaxxer.hikari.util.ConcurrentBag-DEBUG
com.zaxxer.hikari.util.DriverDataSource-DEBUG
com.zaxxer.hikari.util.PropertyElf-DEBUG
io-DEBUG
io.netty-INFO
io.netty.bootstrap-INFO
io.netty.bootstrap.Bootstrap-INFO
io.netty.bootstrap.ServerBootstrap-INFO
io.netty.buffer-INFO
io.netty.buffer.AbstractByteBuf-INFO
io.netty.buffer.ByteBufUtil-INFO
io.netty.buffer.PoolThreadCache-INFO
io.netty.buffer.PooledByteBufAllocator-INFO
io.netty.channel-INFO
io.netty.channel.AbstractChannel-INFO
io.netty.channel.AbstractChannelHandlerContext-INFO
io.netty.channel.ChannelHandlerMask-INFO
io.netty.channel.ChannelInitializer-INFO
io.netty.channel.ChannelOutboundBuffer-INFO
io.netty.channel.DefaultChannelId-INFO
io.netty.channel.DefaultChannelPipeline-INFO
io.netty.channel.MultithreadEventLoopGroup-INFO
io.netty.channel.nio-INFO
io.netty.channel.nio.AbstractNioChannel-INFO
io.netty.channel.nio.NioEventLoop-INFO
io.netty.channel.socket-INFO
io.netty.channel.socket.nio-INFO
io.netty.channel.socket.nio.NioServerSocketChannel-INFO
io.netty.channel.socket.nio.NioSocketChannel-INFO
io.netty.handler-INFO
.netty.handler.flow-INFO
io.netty.handler.flow.FlowControlHandler-INFO
io.netty.resolver-INFO
io.netty.resolver.AddressResolverGroup-INFO
io.netty.util-INFO
io.netty.util.NetUtil-INFO
io.netty.util.NetUtilInitializations-INFO
io.netty.util.Recycler-INFO
io.netty.util.ReferenceCountUtil-INFO
io.netty.util.ResourceLeakDetector-INFO
io.netty.util.ResourceLeakDetectorFactory-INFO
io.netty.util.concurrent-INFO
io.netty.util.concurrent.AbstractEventExecutor-INFO
io.netty.util.concurrent.DefaultPromise-INFO
io.netty.util.concurrent.DefaultPromise.rejectedExecution-INFO
io.netty.util.concurrent.GlobalEventExecutor-INFO
io.netty.util.concurrent.SingleThreadEventExecutor-INFO
io.netty.util.internal-INFO
io.netty.util.internal.CleanerJava9-INFO
io.netty.util.internal.InternalThreadLocalMap-INFO
io.netty.util.internal.MacAddressUtil-INFO
io.netty.util.internal.PlatformDependent-INFO
io.netty.util.internal.PlatformDependent0-INFO
io.netty.util.internal.SystemPropertyUtil-INFO
io.netty.util.internal.logging-INFO
io.netty.util.internal.logging.InternalLoggerFactory-INFO
io.swagger-INFO
javax-DEBUG
javax.management-INFO
kamon-DEBUG
kamon.Kamon-DEBUG
kamon.ReporterRegistry-DEBUG
kamon.ReporterRegistry$Default-DEBUG
kamon.ReporterRegistry$Default$MetricReporterTicker-DEBUG
kamon.context-DEBUG
kamon.context.Codecs-DEBUG
kamon.context.Codecs$Binary-DEBUG
kamon.context.Codecs$HttpHeaders-DEBUG
kamon.influxdb-DEBUG
kamon.influxdb.InfluxDBReporter-DEBUG
kamon.metric-DEBUG
kamon.metric.MetricRegistry-DEBUG
kamon.metric.RangeSamplerMetric-DEBUG
kamon.metrics-DEBUG
kamon.metrics.SystemMetrics-DEBUG
kamon.sigar-DEBUG
kamon.sigar.SigarProvisioner-DEBUG
kamon.trace-DEBUG
kamon.trace.Tracer-DEBUG
org-DEBUG
org.apache-DEBUG
org.apache.http-INFO
org.aspectj-INFO
org.asynchttpclient-INFO
org.flywaydb-INFO
org.flywaydb.core-INFO
org.flywaydb.core.Flyway-INFO
org.flywaydb.core.api-INFO
org.flywaydb.core.api.configuration-INFO
org.flywaydb.core.api.configuration.ClassicConfiguration-INFO
org.flywaydb.core.internal-INFO
org.flywaydb.core.internal.callback-INFO
org.flywaydb.core.internal.callback.SqlScriptCallbackFactory-INFO
org.flywaydb.core.internal.command-INFO
org.flywaydb.core.internal.command.DbMigrate-INFO
org.flywaydb.core.internal.command.DbSchemas-INFO
org.flywaydb.core.internal.command.DbValidate-INFO
org.flywaydb.core.internal.database-INFO
org.flywaydb.core.internal.database.DatabaseFactory-INFO
org.flywaydb.core.internal.database.base-INFO
org.flywaydb.core.internal.database.base.Database-INFO
org.flywaydb.core.internal.database.base.Table-INFO
org.flywaydb.core.internal.database.postgresql-INFO
org.flywaydb.core.internal.database.postgresql.PostgreSQLAdvisoryLockTemplate-INFO
org.flywaydb.core.internal.jdbc-INFO
org.flywaydb.core.internal.jdbc.JdbcUtils-INFO
org.flywaydb.core.internal.jdbc.TransactionTemplate-INFO
org.flywaydb.core.internal.license-INFO
org.flywaydb.core.internal.license.VersionPrinter-INFO
org.flywaydb.core.internal.resolver-INFO
org.flywaydb.core.internal.resolver.AbstractJavaMigrationResolver-INFO
org.flywaydb.core.internal.scanner-INFO
org.flywaydb.core.internal.scanner.Scanner-INFO
org.flywaydb.core.internal.scanner.classpath-INFO
org.flywaydb.core.internal.scanner.classpath.ClassPathScanner-INFO
org.flywaydb.core.internal.scanner.classpath.JarFileClassPathLocationScanner-INFO
org.flywaydb.core.internal.scanner.filesystem-INFO
org.flywaydb.core.internal.scanner.filesystem.FileSystemScanner-INFO
org.flywaydb.core.internal.schemahistory-INFO
org.flywaydb.core.internal.schemahistory.JdbcTableSchemaHistory-INFO
org.flywaydb.core.internal.sqlscript-INFO
org.flywaydb.core.internal.sqlscript.SqlScript-INFO
org.flywaydb.core.internal.util-INFO
org.flywaydb.core.internal.util.ClassUtils-INFO
org.flywaydb.core.internal.util.FeatureDetector-INFO
org.flywaydb.core.internal.util.Locations-INFO
org.glassfish-DEBUG
org.glassfish.jersey-DEBUG
org.glassfish.jersey.client-DEBUG
org.glassfish.jersey.client.ClientExecutorProvidersConfigurator-INFO
org.glassfish.jersey.inject-DEBUG
org.glassfish.jersey.inject.hk2-DEBUG
org.glassfish.jersey.inject.hk2.AbstractHk2InjectionManager-DEBUG
org.glassfish.jersey.internal-DEBUG
org.glassfish.jersey.internal.ServiceFinder-DEBUG
org.glassfish.jersey.internal.util-DEBUG
org.glassfish.jersey.internal.util.ReflectionHelper-INFO
org.glassfish.jersey.process-DEBUG
org.glassfish.jersey.process.internal-DEBUG
org.glassfish.jersey.process.internal.ExecutorProviders-DEBUG
org.influxdb-DEBUG
org.influxdb.impl-DEBUG
org.influxdb.impl.BatchProcessor-DEBUG
org.postgresql-DEBUG
org.postgresql.Driver-INFO
org.postgresql.core-DEBUG
org.postgresql.core.v3-DEBUG
org.postgresql.core.v3.ConnectionFactoryImpl-DEBUG
org.postgresql.jdbc-DEBUG
org.postgresql.jdbc.PgConnection-DEBUG
org.postgresql.ssl-DEBUG
org.postgresql.ssl.MakeSSL-DEBUG
org.reflections-DEBUG
org.reflections.Reflections-DEBUG
ru-DEBUG
ru.CryptoPro-INFO
ru.CryptoPro.JCP-INFO
ru.CryptoPro.JCP.tools-INFO
ru.CryptoPro.JCP.tools.JCPLogger-INFO
ru.CryptoPro.JCSP-INFO
ru.CryptoPro.JCSP.JCSPLogger-INFO
slick-INFO
slick.basic-INFO
slick.basic.BasicBackend-INFO
slick.basic.BasicBackend.action-INFO
slick.compiler-INFO
slick.compiler.AssignUniqueSymbols-INFO
slick.compiler.CodeGen-INFO
slick.compiler.CreateResultSetMapping-INFO
slick.compiler.ExpandSums-INFO
slick.compiler.ExpandTables-INFO
slick.compiler.FlattenProjections-INFO
slick.compiler.HoistClientOps-INFO
slick.compiler.MergeToComprehensions-INFO
slick.compiler.PruneProjections-INFO
slick.compiler.QueryCompiler-INFO
slick.compiler.QueryCompilerBenchmark-INFO
slick.compiler.RemoveFieldNames-INFO
slick.jdbc-INFO
slick.jdbc.JdbcBackend-INFO
slick.jdbc.JdbcBackend.benchmark-INFO
slick.jdbc.JdbcBackend.parameter-INFO
slick.jdbc.JdbcBackend.statement-INFO
slick.jdbc.JdbcBackend.statementAndParameter-INFO
slick.jdbc.StatementInvoker-INFO
slick.jdbc.StatementInvoker.result-INFO
slick.relational-INFO
slick.relational.ResultConverterCompiler-INFO
slick.util-INFO
slick.util.ManagedArrayBlockingQueue-INFO
sun-DEBUG
sun.net-DEBUG
sun.net.www-DEBUG
sun.net.www.protocol-DEBUG
sun.net.www.protocol.http-DEBUG
sun.net.www.protocol.http.HttpURLConnection-DEBUG
sun.rmi-INFO