forked from Qortal/qortal
0db43451d4
DB shape change from v29 to add peer info. New NetworkRepository to handle above. Peer handshaking with v2 anti-DoS PoW code. Handshaking refactored into a state-machine-like enum. Some peer-related API calls added. Peers exchange pings, heights, peers. No actual peer sync yet. Other changes: Peer version info taken from Maven build properties/resource file. AnnotationPostProcessor more resilient when fetching PathItems. Per-repository session debugging flag that can be toggled at will. HSQLDBRepository.delete() now returns int so callers can detect whether anything was actually deleted. Some renaming to settings.
53 lines
1.9 KiB
Properties
53 lines
1.9 KiB
Properties
rootLogger.level = info
|
|
# On Windows, this might be rewritten as:
|
|
# property.filename = ${sys:user.home}\\AppData\\Roaming\\Qora\\log.txt
|
|
property.filename = log.txt
|
|
|
|
rootLogger.appenderRef.console.ref = stdout
|
|
rootLogger.appenderRef.rolling.ref = FILE
|
|
|
|
# Override HSQLDB logging level to "warn" as too much is logged at "info"
|
|
logger.hsqldb.name = hsqldb.db
|
|
logger.hsqldb.level = warn
|
|
|
|
# Support optional, per-session HSQLDB debugging
|
|
logger.hsqldbDebug.name = org.qora.repository.hsqldb.HSQLDBRepository
|
|
logger.hsqldbDebug.level = debug
|
|
|
|
# Suppress extraneous Jersey warning
|
|
logger.jerseyInject.name = org.glassfish.jersey.internal.inject.Providers
|
|
logger.jerseyInject.level = error
|
|
|
|
# Debugging transaction searches
|
|
logger.txSearch.name = org.qora.repository.hsqldb.transaction.HSQLDBTransactionRepository
|
|
logger.txSearch.level = trace
|
|
|
|
# Debug block generator
|
|
logger.blockgen.name = org.qora.block.BlockGenerator
|
|
logger.blockgen.level = trace
|
|
|
|
# Debug networking
|
|
logger.network.name = org.qora.network.Network
|
|
logger.network.level = trace
|
|
logger.peer.name = org.qora.network.Peer
|
|
logger.peer.level = trace
|
|
|
|
appender.console.type = Console
|
|
appender.console.name = stdout
|
|
appender.console.layout.type = PatternLayout
|
|
appender.console.layout.pattern = %d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n
|
|
appender.console.filter.threshold.type = ThresholdFilter
|
|
appender.console.filter.threshold.level = error
|
|
|
|
appender.rolling.type = RollingFile
|
|
appender.rolling.name = FILE
|
|
appender.rolling.layout.type = PatternLayout
|
|
appender.rolling.layout.pattern = %d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n
|
|
appender.rolling.filePattern = ${filename}.%i
|
|
appender.rolling.policy.type = SizeBasedTriggeringPolicy
|
|
appender.rolling.policy.size = 4MB
|
|
# Set the immediate flush to true (default)
|
|
# appender.rolling.immediateFlush = true
|
|
# Set the append to true (default), should not overwrite
|
|
# appender.rolling.append=true
|