[error] akka.ConfigurationException: Could not start logger due to
[akka.ConfigurationException: Logger specified in config can't be loaded
[akka.event.slf4j.Slf4jLogger] due to
[akka.event.Logging$LoggerInitializationException: Logger log1-Slf4jLogger did
not respond with LoggerInitialized, sent instead [TIMEOUT]]]
我已经尝试包括记录器启动超时值,以及它似乎不工作,同样的问题得到反映。
akka {
loggers = ["akka.event.slf4j.Slf4jLogger"]
loglevel = "INFO"
logger-startup-timeout = 30s
http {
host-connection-pool {
max-connections = 16
max-open-requests = 128
}
server {
parsing.max-header-value-length = 512k
}
}
}
有人能帮我解决这个问题吗
1条答案
按热度按时间sqserrrh1#
我认为还需要设置
logging-filter
参数:如果这不能解决您的问题,请(重新)仔细阅读the official documentation on how to perform Classic Logging,因为您可能有一些依赖性问题。