Akka Dead letters on Akka IO Actor - postgresql

First question here on StackOverflow!
Anyways, on to the topic at hand:
I have a Debian 8.0 (Jessie or Testing) installation. For some reason, I'm getting eve-central.com's API somehow funky because instead of grabbing posted data to it from another script on my server and putting it in PostgreSQL, it basically errors and continues to run, but doesn't import the data from the other script.
root#MN-VM-Host01:~/evec/core# sbt run
[info] Loading project definition from /root/evec/core/project
[info] Set current project to eve-central-ng (in build file:/root/evec/core/)
[info] Running com.evecentral.Boot
22:27:25,422 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
22:27:25,423 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
22:27:25,423 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/root/evec/core/target/scala-2.10/classes/logback.xml]
22:27:25,501 |-INFO in ReconfigureOnChangeFilter{invocationCounter=0} - Will scan for changes in [[/root/evec/core/target/scala-2.10/classes/logback.xml]] every 60 seconds.
22:27:25,501 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - Adding ReconfigureOnChangeFilter as a turbo filter
22:27:25,502 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
22:27:25,506 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
22:27:25,531 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
22:27:25,571 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
22:27:25,574 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [FILE]
22:27:25,600 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter#22:14 - no applicable action for [maxHistory], current pattern is [[configuration][appender][rollingPolicy][timeBasedFileNamingAndTriggeringPolicy][maxHistory]]
22:27:25,606 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - No compression will be used
22:27:25,608 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use the pattern logs/evec.log-%d{yyyy-MM-dd}.%i for the active file
22:27:25,611 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP#6a158dc7 - The date pattern is 'yyyy-MM-dd' from file name pattern 'logs/evec.log-%d{yyyy-MM-dd}.%i'.
22:27:25,611 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP#6a158dc7 - Roll-over at midnight.
22:27:25,615 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP#6a158dc7 - Setting initial period to Wed Mar 04 22:00:47 CST 2015
22:27:25,617 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Cleaning on start up
22:27:25,617 |-INFO in ch.qos.logback.core.rolling.helper.SizeAndTimeBasedArchiveRemover#296d1f3f - first clean up after appender initialization
22:27:25,617 |-INFO in ch.qos.logback.core.rolling.helper.SizeAndTimeBasedArchiveRemover#296d1f3f - periodsElapsed = 64
22:27:25,625 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
22:27:25,626 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Active log file name: logs/evec.log
22:27:25,626 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - File property is set to [logs/evec.log]
22:27:25,627 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [cc.spray.can] to INFO
22:27:25,628 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to DEBUG
22:27:25,628 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE] to Logger[ROOT]
22:27:25,628 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
22:27:25,630 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator#1a936409 - Registering current configuration as safe fallback point
22:27:25,422 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
22:27:25,423 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
22:27:25,423 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/root/evec/core/target/scala-2.10/classes/logback.xml]
22:27:25,501 |-INFO in ReconfigureOnChangeFilter{invocationCounter=0} - Will scan for changes in [[/root/evec/core/target/scala-2.10/classes/logback.xml]] every 60 seconds.
22:27:25,501 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - Adding ReconfigureOnChangeFilter as a turbo filter
22:27:25,502 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
22:27:25,506 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
22:27:25,531 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
22:27:25,571 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
22:27:25,574 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [FILE]
22:27:25,600 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter#22:14 - no applicable action for [maxHistory], current pattern is [[configuration][appender][rollingPolicy][timeBasedFileNamingAndTriggeringPolicy][maxHistory]]
22:27:25,606 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - No compression will be used
22:27:25,608 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use the pattern logs/evec.log-%d{yyyy-MM-dd}.%i for the active file
22:27:25,611 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP#6a158dc7 - The date pattern is 'yyyy-MM-dd' from file name pattern 'logs/evec.log-%d{yyyy-MM-dd}.%i'.
22:27:25,611 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP#6a158dc7 - Roll-over at midnight.
22:27:25,615 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP#6a158dc7 - Setting initial period to Wed Mar 04 22:00:47 CST 2015
22:27:25,617 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Cleaning on start up
22:27:25,617 |-INFO in ch.qos.logback.core.rolling.helper.SizeAndTimeBasedArchiveRemover#296d1f3f - first clean up after appender initialization
22:27:25,617 |-INFO in ch.qos.logback.core.rolling.helper.SizeAndTimeBasedArchiveRemover#296d1f3f - periodsElapsed = 64
22:27:25,625 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
22:27:25,626 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Active log file name: logs/evec.log
22:27:25,626 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - File property is set to [logs/evec.log]
22:27:25,627 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [cc.spray.can] to INFO
22:27:25,628 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to DEBUG
22:27:25,628 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE] to Logger[ROOT]
22:27:25,628 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
22:27:25,630 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator#1a936409 - Registering current configuration as safe fallback point
[INFO] [03/04/2015 22:27:26.778] [evec-akka.actor.default-dispatcher-2] [akka://evec/user/IO-HTTP/listener-0] Bound to /0.0.0.0:80
[INFO] [03/04/2015 22:27:26.780] [evec-akka.actor.default-dispatcher-4] [akka://evec/deadLetters] Message [akka.io.Tcp$Bound] from Actor[akka://evec/user/IO-HTTP/listener-0#417259830] to Actor[akka://evec/deadLetters] was not delivered. [1] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.
I am using SBT version 0.13.6 and i distinctly remember something like Akka Actors 2.3.5 breaking the entire thing... Is there a way in Debian 8 to revert to say, 2.1.4?
EDIT: Here are the contents of Boot.Scala (the file called by me executing the command "sbt run" in the labeled directory which is now at /evec/core/):
package com.evecentral
import akka.actor.{Actor, ActorSystem, Props}
import akka.io.IO
import akka.routing.SmallestMailboxRouter
import akka.util.Timeout
import com.evecentral.api._
import com.evecentral.dataaccess._
import com.evecentral.datainput.{StatisticsCaptureActor, UnifiedUploadParsingActor, UploadStorageActor}
import com.evecentral.routes.RouteFinderActor
import com.evecentral.util.ActorNames
import com.typesafe.config.ConfigFactory
import org.slf4j.LoggerFactory
import spray.can.Http
import spray.http.StatusCodes._
import spray.routing._
import spray.routing.Directives.{complete, requestUri}
import spray.util.LoggingContext
import scala.concurrent.duration._
object Boot extends App {
val config = ConfigFactory.load()
val system = ActorSystem("evec")
val systemsMap = StaticProvider.systemsMap
val stationsMAp = StaticProvider.stationsMap
val typesMap = StaticProvider.typesMap
LoggerFactory.getLogger(getClass)
val log = LoggerFactory.getLogger("boot")
// initialize SLF4J early
// "Singleton" actors
log.info("Booting GetOrdersActor")
val ordersActor = system.actorOf(Props[GetOrdersActor].withRouter(new SmallestMailboxRouter(10)), ActorNames.getorders)
log.info("Booting GetHistStats")
val gethiststats = system.actorOf(Props[GetHistStats], ActorNames.gethiststats)
log.info("Booting StatisticsCaptureActor")
val statCap = system.actorOf(Props[StatisticsCaptureActor], ActorNames.statCapture)
log.info("Booting UploadStorageActor")
val unifiedActor = system.actorOf(Props[UploadStorageActor].withRouter(new SmallestMailboxRouter(3)), ActorNames.uploadstorage)
log.info("Booting RouteActor")
val routeActor = system.actorOf(Props[RouteFinderActor], ActorNames.routefinder)
log.info("Booting OrderCacheActor")
val statCache = system.actorOf(Props[OrderCacheActor], ActorNames.statCache)
log.info("Booting UnifiedUploadParsingActor")
val parser = system.actorOf(Props[UnifiedUploadParsingActor].withRouter(new SmallestMailboxRouter(10)), ActorNames.unifiedparser)
def catchAllHandler() =
ExceptionHandler {
case e: Exception =>
requestUri { uri =>
log.error("Exception at URI " + uri, e)
complete(InternalServerError, "An internal error occurred. Here is a debugging stacktrace. \n" +
"Please report issues to https://github.com/theatrus/eve-central.com\n\n" + e.getStackTraceString)
}
}
class APIServiceActor extends Actor with APIv2Service with APIv3Service {
def actorRefFactory = context
implicit val route = RoutingSettings.default
implicit val exception = ExceptionHandler.default
def receive = runRoute(handleExceptions(catchAllHandler()) { v2Service ~ api3Service })
override implicit val timeout: Timeout = 60.seconds
}
log.info("Booting APIServiceActor")
val apiModule = system.actorOf(Props[APIServiceActor].withRouter(new SmallestMailboxRouter(10)), ActorNames.http_apiv3)
IO(Http)(system) ! Http.Bind(apiModule, interface = "0.0.0.0", port = 80)
}

Related

Fix command line output

Command line showing problems I need help fixing
I currently completing a assignment for a placement application and I am trying to run the program from an input command line statement but it is not giving me any output as all these errors are printed. This command line program is written in the java environment.
C:\Users\Spencer Du\Documents\MSc Computing with placement Cardiff Uni\EMBL-EBI Assignment task\pia-1.3.10>java -cp pia-1.3.10.jar de.mpc.pia.intermediate.compiler.PIACompiler -infile C:\Users\Spencer Du\Documents\MSc Computing with placement Cardiff Uni\EMBL-EBI Assignment task\MSFragger-20190222\MSFragger-20190222\1a-QExHF04026.pepxml -outfile de.mpc.pia.intermediate.compiler.PIACompiler
[23-Mar-2019 18:32:38 - INFO] "file: C:\Users\Spencer
name: Spencer
type: null
additional info file: null" (de.mpc.pia.intermediate.compiler.PIACompiler:1342)
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/C:/Users/Spencer%20Du/Documents/MSc%20Computing%20with%20placement%20Cardiff%20Uni/EMBL-EBI%20Assignment%20task/pia-1.3.10/lib/logback-classic-1.1.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/Users/Spencer%20Du/Documents/MSc%20Computing%20with%20placement%20Cardiff%20Uni/EMBL-EBI%20Assignment%20task/pia-1.3.10/lib/log4j-slf4j-impl-2.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/Users/Spencer%20Du/Documents/MSc%20Computing%20with%20placement%20Cardiff%20Uni/EMBL-EBI%20Assignment%20task/pia-1.3.10/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
18:32:38,377 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
18:32:38,377 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
18:32:38,378 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [jar:file:/C:/Users/Spencer%20Du/Documents/MSc%20Computing%20with%20placement%20Cardiff%20Uni/EMBL-EBI%20Assignment%20task/pia-1.3.10/lib/jmztab-modular-model-3.0.8.jar!/logback.xml]
18:32:38,378 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs multiple times on the classpath.
18:32:38,378 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/C:/Users/Spencer%20Du/Documents/MSc%20Computing%20with%20placement%20Cardiff%20Uni/EMBL-EBI%20Assignment%20task/pia-1.3.10/lib/jmztab-modular-model-3.0.8.jar!/logback.xml]
18:32:38,378 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/C:/Users/Spencer%20Du/Documents/MSc%20Computing%20with%20placement%20Cardiff%20Uni/EMBL-EBI%20Assignment%20task/pia-1.3.10/lib/px-submission-core-2.0.15.jar!/logback.xml]
18:32:38,378 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/C:/Users/Spencer%20Du/Documents/MSc%20Computing%20with%20placement%20Cardiff%20Uni/EMBL-EBI%20Assignment%20task/pia-1.3.10/lib/jmztab-modular-util-3.0.8.jar!/logback.xml]
18:32:38,378 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/C:/Users/Spencer%20Du/Documents/MSc%20Computing%20with%20placement%20Cardiff%20Uni/EMBL-EBI%20Assignment%20task/pia-1.3.10/lib/jmztab-modular-converters-3.0.8.jar!/logback.xml]
18:32:38,386 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList#a4102b8 - URL [jar:file:/C:/Users/Spencer%20Du/Documents/MSc%20Computing%20with%20placement%20Cardiff%20Uni/EMBL-EBI%20Assignment%20task/pia-1.3.10/lib/jmztab-modular-model-3.0.8.jar!/logback.xml] is not of type file
18:32:38,438 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
18:32:38,441 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - Setting ReconfigureOnChangeFilter scanning period to 30 seconds
18:32:38,441 |-INFO in ReconfigureOnChangeFilter{invocationCounter=0} - Will scan for changes in [[]] every 30 seconds.
18:32:38,441 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - Adding ReconfigureOnChangeFilter as a turbo filter
18:32:38,445 |-INFO in ch.qos.logback.classic.joran.action.LoggerContextListenerAction - Adding LoggerContextListener of type [ch.qos.logback.classic.jul.LevelChangePropagator] to the object stack
18:32:38,463 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator#11dc3715 - Propagating DEBUG level on Logger[ROOT] onto the JUL framework
18:32:38,463 |-INFO in ch.qos.logback.classic.joran.action.LoggerContextListenerAction - Starting LoggerContextListener
18:32:38,463 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
18:32:38,465 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [console]
18:32:38,469 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
18:32:38,492 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [uk.ac.ebi.pride.jmztab] to ERROR
18:32:38,492 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator#11dc3715 - Propagating ERROR level on Logger[uk.ac.ebi.pride.jmztab] onto the JUL framework
18:32:38,492 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to ERROR
18:32:38,492 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator#11dc3715 - Propagating ERROR level on Logger[ROOT] onto the JUL framework
18:32:38,492 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [console] to Logger[ROOT]
18:32:38,492 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
18:32:38,493 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator#69930714 - Registering current configuration as safe fallback point
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
E|JDBCAccess |Cannot open the SQLite DB: C:\Users\Spencer via JDBC
E|JDBCAccess |SQLite-Error - SQLState: 0 SQLMessage: opening db: 'C:\Users\Spencer': Access is denied
E|JDBCAccess |JDBC-Error(JDBC): No connection to the database
Thanks
Spencer

Logback Play Framework 2.6 using incorrect configuration file

I'm trying to set up basic logging with logback.xml with the scala-g8 template. The issue I'm having is that for some reason Play framework keeps using the logback file in the .ivy2 cache folder. I have a logback.xml in my conf directory, but it doesn't seem to be picking it up. Any ideas? Here's the log:
14:36:06,949 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback-test.xml] at [jar:file:/home/julian/.ivy2/cache/com.typesafe.play/play-openid_2.12/jars/play-openid_2.12-2.6.5.jar!/logback-test.xml]
14:36:06,961 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList#4aeb1d4e - URL [jar:file:/home/julian/.ivy2/cache/com.typesafe.play/play-openid_2.12/jars/play-openid_2.12-2.6.5.jar!/logback-test.xml] is not of type file
14:36:07,060 |-INFO in ch.qos.logback.core.joran.action.StatusListenerAction - Added status listener of type [ch.qos.logback.core.status.NopStatusListener]
14:36:07,061 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
14:36:07,068 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
14:36:07,073 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
14:36:07,094 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to WARN
14:36:07,094 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
14:36:07,095 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
14:36:07,095 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator#6d63c1fd - Registering current configuration as safe fallback point
14:36:06,949 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback-test.xml] at [jar:file:/home/julian/.ivy2/cache/com.typesafe.play/play-openid_2.12/jars/play-openid_2.12-2.6.5.jar!/logback-test.xml]
14:36:06,961 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList#4aeb1d4e - URL [jar:file:/home/julian/.ivy2/cache/com.typesafe.play/play-openid_2.12/jars/play-openid_2.12-2.6.5.jar!/logback-test.xml] is not of type file
14:36:07,060 |-INFO in ch.qos.logback.core.joran.action.StatusListenerAction - Added status listener of type [ch.qos.logback.core.status.NopStatusListener]
14:36:07,061 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
14:36:07,068 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
14:36:07,073 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
14:36:07,094 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to WARN
14:36:07,094 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
14:36:07,095 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
14:36:07,095 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator#6d63c1fd - Registering current configuration as safe fallback point
14:36:07,167 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList#77ece54e - URL [jar:file:/home/julian/.ivy2/cache/com.typesafe.play/play-openid_2.12/jars/play-openid_2.12-2.6.5.jar!/logback-test.xml] is not of type file
14:36:07,169 |-INFO in ch.qos.logback.core.joran.action.StatusListenerAction - Added status listener of type [ch.qos.logback.core.status.NopStatusListener]
14:36:07,169 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
14:36:07,169 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
14:36:07,169 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
14:36:07,169 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to WARN
14:36:07,169 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
14:36:07,170 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
14:36:07,170 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator#5aaa6c89 - Registering current configuration as safe fallback point
It's really odd since this is the right-out-of-the-box template. Thanks!
I am pretty sure they broke conf/logback.xml in 2.6.13 in this update. If you are using that version, try going back to 2.6.12 and I suspect everything will work like you expect.
UPDATE: I believe the latest version 2.6.15 has a fix to this now.

Tomcat logback console appender follows ROOT level only and not named appenders

I use Tomcat with Eclipse. I recently upgraded to Neon and also recreated my Tomcat server configuration in there. Since then, I have not been able to log my web application properly to the Eclipse console. Specifically, if I set an INFO level in my web application appenders, they will go successfully to a log file, but not the console.
Strangely, it is only if I change the ROOT level from WARN to INFO, then the console will show the INFO levels for my application. But of course that puts everything else at INFO also, making this not very useful.
I send all Tomcat logging through logback as well. For my launch configuration, I use in arguments:
-Dcatalina.base="C:\dev\eclipse\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0" -Dcatalina.home="C:\dev\apache-tomcat-7.0.52" -Dwtp.deploy="C:\dev\eclipse\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps" -Djava.endorsed.dirs="C:\dev\apache-tomcat-7.0.52\endorsed" -Djava.util.logging.manager="org.apache.juli.ClassLoaderLogManager" -Djava.util.logging.config.file="C:/dev/apache-tomcat-7.0.52/conf/logging.properties" -Ddeployment.security.SSLv2Hello=false -Ddeployment.security.SSLv3=false -Ddeployment.security.TLSv1=false -Ddeployment.security.TLSv1.1=true -Ddeployment.security.TLSv1.2=true -Dlogback.configurationFile="C:/dev/apache-tomcat-7.0.52/lib/logback.xml"
and in the classpath, I add tomcat-juli.jar and jul-to-slf4j-1.7.25.jar.
Here is my logback.xml:
<?xml version="1.0" encoding="UTF-8"?>
<configuration scan="true" scanPeriod="10 seconds">
<!-- always a good idea to have an OnConsoleStatusListener -->
<statusListener class="ch.qos.logback.core.status.OnConsoleStatusListener" />
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level (%file:%line\) - %message%n</pattern>
</encoder>
</appender>
<!-- Tomcat service output has been disabled so all stdout/stderr messages come here as well. -->
<appender name="main" class="ch.qos.logback.core.rolling.RollingFileAppender"> -->
<!--See also http://logback.qos.ch/manual/appenders.html#RollingFileAppender -->
<File>C:/dev/apache-tomcat-7.0.52/logs/tomcat7.log</File>
<Append>true</Append>
<encoder>
<Charset>UTF-8</Charset>
<pattern>%5level [%thread] %date{ISO8601} %class{0}:%line %mdc{requestId} - %message %n%rootException</pattern>
</encoder>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<maxHistory>10</maxHistory>
<FileNamePattern>C:/dev/apache-tomcat-7.0.52/logs/tomcat7.%d{yyyy-MM-dd}.log</FileNamePattern>
</rollingPolicy>
</appender>
<!-- If desired, we can create a class logger with additivity false to put that in its own log file -->
<!-- be quiet -->
<logger name="org.apache.struts2.util.TokenHelper" level="ERROR" />
<logger name="org.dbunit.dataset.AbstractTableMetaData" level="ERROR"/>
<logger name="org.springframework.mock.web.MockServletContext" level="ERROR"/>
<logger name="org.w3c.tidy" level="OFF"/>
<logger name="com.opensymphony.xwork2.DefaultActionProxy" level="ERROR"/>
<!-- having issues with logging -->
<logger name="ch.qos" level="DEBUG" />
<logger name="com.mycompany.web.product.Catalog" level="INFO" />
<root level="WARN">
<appender-ref ref="CONSOLE"/>
<appender-ref ref="main"/>
</root>
</configuration>
And here is the output in the Eclipse console I get when I start Tomcat:
20:01:06,793 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [C:/dev/apache-tomcat-7.0.52/lib/logback.xml] at [file:/C:/dev/apache-tomcat-7.0.52/lib/logback.xml]
20:01:06,938 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
20:01:06,974 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - Will scan for changes in [file:/C:/dev/apache-tomcat-7.0.52/lib/logback.xml]
20:01:06,975 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - Setting ReconfigureOnChangeTask scanning period to 10 seconds
20:01:06,980 |-INFO in ch.qos.logback.core.joran.action.StatusListenerAction - Added status listener of type [ch.qos.logback.core.status.OnConsoleStatusListener]
20:01:07,017 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
20:01:07,023 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [CONSOLE]
20:01:07,032 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
20:01:07,079 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
20:01:07,083 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [main]
20:01:07,086 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
20:01:07,100 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy#391359742 - No compression will be used
20:01:07,103 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy#391359742 - Will use the pattern C:/dev/apache-tomcat-7.0.52/logs/tomcat7.%d{yyyy-MM-dd}.log for the active file
20:01:07,111 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - The date pattern is 'yyyy-MM-dd' from file name pattern 'C:/dev/apache-tomcat-7.0.52/logs/tomcat7.%d{yyyy-MM-dd}.log'.
20:01:07,111 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Roll-over at midnight.
20:01:07,119 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Setting initial period to Sun Jul 09 19:51:44 EDT 2017
20:01:07,124 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[main] - Active log file name: C:/dev/apache-tomcat-7.0.52/logs/tomcat7.log
20:01:07,124 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[main] - File property is set to [C:/dev/apache-tomcat-7.0.52/logs/tomcat7.log]
20:01:07,128 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache.struts2.util.TokenHelper] to ERROR
20:01:07,128 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.dbunit.dataset.AbstractTableMetaData] to ERROR
20:01:07,128 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.springframework.mock.web.MockServletContext] to ERROR
20:01:07,128 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.w3c.tidy] to OFF
20:01:07,128 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.opensymphony.xwork2.DefaultActionProxy] to ERROR
20:01:07,129 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [ch.qos] to DEBUG
20:01:07,129 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.sentrylink.web.product.Catalog] to INFO
20:01:07,129 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to WARN
20:01:07,130 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [CONSOLE] to Logger[ROOT]
20:01:07,131 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [main] to Logger[ROOT]
20:01:07,131 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
20:01:07,132 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator#14acaea5 - Registering current configuration as safe fallback point
20:01:07.606 [main] WARN (SetPropertiesRule.java:218) - [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:web' did not find a matching property.
20:01:10,298 |-INFO in ch.qos.logback.classic.servlet.LogbackServletContainerInitializer#55d16720 - Adding an instance of class ch.qos.logback.classic.servlet.LogbackServletContextListener to the current web-app
20:01:17,590 |-INFO in ch.qos.logback.classic.servlet.LogbackServletContainerInitializer#75b3fa82 - Adding an instance of class ch.qos.logback.classic.servlet.LogbackServletContextListener to the current web-app
20:01:24,547 |-INFO in ch.qos.logback.access.tomcat.LogbackValve[null] - filename property not set. Assuming [conf\logback-access.xml]
20:01:24,547 |-INFO in ch.qos.logback.access.tomcat.LogbackValve[null] - Could NOT configuration file [C:\dev\eclipse\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\conf\logback-access.xml] using property "catalina.base"
20:01:24,547 |-INFO in ch.qos.logback.access.tomcat.LogbackValve[null] - Found configuration file [C:\dev\apache-tomcat-7.0.52\conf\logback-access.xml] using property "catalina.home"
20:01:24,554 |-INFO in ch.qos.logback.access.joran.action.ConfigurationAction - debug attribute not set
20:01:24,554 |-INFO in ch.qos.logback.core.joran.action.StatusListenerAction - Added status listener of type [ch.qos.logback.core.status.OnConsoleStatusListener]
20:01:24,554 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
20:01:24,554 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [FILE]
20:01:24,556 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy#1990676241 - No compression will be used
20:01:24,556 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy#1990676241 - Will use the pattern logs/data-access.%d{yyyy-MM-dd}.log for the active file
20:01:24,557 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - The date pattern is 'yyyy-MM-dd' from file name pattern 'logs/data-access.%d{yyyy-MM-dd}.log'.
20:01:24,557 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Roll-over at midnight.
20:01:24,558 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Setting initial period to Sat Jul 08 22:21:36 EDT 2017
20:01:24,558 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.access.PatternLayoutEncoder] for [encoder] property
20:01:24,572 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Active log file name: logs/data-access.log
20:01:24,572 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - File property is set to [logs/data-access.log]
20:01:24,573 |-INFO in ch.qos.logback.access.joran.action.ConfigurationAction - End of configuration.
20:01:24,573 |-INFO in ch.qos.logback.access.joran.JoranConfigurator#783a197d - Registering current configuration as safe fallback point
20:01:24,573 |-INFO in ch.qos.logback.access.tomcat.LogbackValve[null] - Done configuring
At this point I load a web page that triggers the Catalog class with INFO logging. It successfully logs in the tomcat7.log file listed above. But it does NOT appear in the console.
If I change the Catalog appender to WARN level the log file correctly leaves out the INFO messages. And as mentioned earler, if I leave the Catalog appender at INFO and change the ROOT appender to INFO, it will show up in the console along with everything else.
I have upgraded to the latest versions of logback and slf4j and it has not helped. Any help appreciated.
I was able to resolve this.
I have a custom context.xml as part of my Eclipse Tomcat server configuration. It had the attribute, swallowOutput="true". This is good for a production machine (it suppresses stdout) but not for what I was trying to do here. After setting that false, things worked.
Why it worked before in Luna, but not Neon, who knows.

cassandraunit crashes immediately

I am trying to run cassandra unit tests on a small vanilla ubuntu 12 machine, but the test or the repl crash immediately without giving me any information. When I try it in the repl I get the following:
scala> org.cassandraunit.utils.EmbeddedCassandraServerHelper.startEmbeddedCassandra()
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/root/.ivy2/cache/ch.qos.logback/logback-classic/jars/logback-classic-1.1.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/root/.ivy2/cache/org.slf4j/slf4j-log4j12/jars/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
16:35:47,837 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
16:35:47,837 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
16:35:47,837 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [jar:file:/root/.ivy2/cache/com.typesafe.play/play_2.10/jars/play_2.10-2.3.6.jar!/logback.xml]
16:35:47,838 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs multiple times on the classpath.
16:35:47,838 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/root/.ivy2/cache/com.typesafe.play/play_2.10/jars/play_2.10-2.3.6.jar!/logback.xml]
16:35:47,838 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/root/.ivy2/cache/com.websudos/phantom-test_2.10/jars/phantom-test_2.10-1.4.0.jar!/logback.xml]
16:35:47,854 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList#5fe21ec9 - URL [jar:file:/root/.ivy2/cache/com.typesafe.play/play_2.10/jars/play_2.10-2.3.6.jar!/logback.xml] is not of type file
16:35:47,974 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
16:35:47,981 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
16:35:47,989 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
16:35:48,015 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
16:35:48,247 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to ERROR
16:35:48,247 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
16:35:48,247 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
16:35:48,248 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator#76534f4c - Registering current configuration as safe fallback point
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
user#ubuntu:~/test$
Turns out I need >4GB of ram for the unit test. Starting with env JAVA_OPTS="-Xmx5G" sbt test solved it.
from the first glance the problem seems to be multple SLF4J binding. You have multiple jars with slf4j logger in it.
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/root/.ivy2/cache/ch.qos.logback/logback-classic/jars/logback-classic-1.1.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/root/.ivy2/cache/org.slf4j/slf4j-log4j12/jars/slf4j-log4j12- 1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
Remove any one of them and try again.
You could refer :http://www.slf4j.org/codes.html#multiple_bindings for an explanation

logback.xml not working witn one-jar

I am using sbt one-jar for building an executable jar file in my application. I am also using logback for logging. I am able to get the log file correctly when I run the application in my local. However, after creating one-jar, and executing it, logs are not getting created.
I am pasting the logs I get when I start the jar file. I am not able to get that working.
JarClassLoader: Warning: Null manifest from input stream associated with: lib/aspectjweaver-1.7.2.jar
JarClassLoader: Warning: Null manifest from input stream associated with: lib/aspectjrt-1.7.2.jar
JarClassLoader: Warning: play/core/server/ServerWithStop.class in lib/build-link-2.3.6.jar is hidden by lib/play_2.11-2.3.6.jar (with different bytecode)
JarClassLoader: Warning: org/apache/commons/logging/impl/NoOpLog.class in lib/jcl-over-slf4j-1.7.6.jar is hidden by lib/commons-logging-1.1.1.jar (with different bytecode)
JarClassLoader: Warning: org/apache/commons/logging/impl/SimpleLog$1.class in lib/jcl-over-slf4j-1.7.6.jar is hidden by lib/commons-logging-1.1.1.jar (with different bytecode)
JarClassLoader: Warning: org/apache/commons/logging/impl/SimpleLog.class in lib/jcl-over-slf4j-1.7.6.jar is hidden by lib/commons-logging-1.1.1.jar (with different bytecode)
JarClassLoader: Warning: org/apache/commons/logging/Log.class in lib/jcl-over-slf4j-1.7.6.jar is hidden by lib/commons-logging-1.1.1.jar (with different bytecode)
JarClassLoader: Warning: org/apache/commons/logging/LogConfigurationException.class in lib/jcl-over-slf4j-1.7.6.jar is hidden by lib/commons-logging-1.1.1.jar (with different bytecode)
JarClassLoader: Warning: org/apache/commons/logging/LogFactory.class in lib/jcl-over-slf4j-1.7.6.jar is hidden by lib/commons-logging-1.1.1.jar (with different bytecode)
16:58:32,500 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
16:58:32,500 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
16:58:32,500 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [jar:file:/common-api_2.11-0.1-SNAPSHOT-one-jar.jar!/lib/play_2.11-2.3.6.jar!/logback.xml]
16:58:32,501 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs multiple times on the classpath.
16:58:32,501 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/common-api_2.11-0.1-SNAPSHOT-one-jar.jar!/main/common-api_2.11-0.1-SNAPSHOT.jar!/logb
ack.xml]
16:58:32,501 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/common-api_2.11-0.1-SNAPSHOT-one-jar.jar!/lib/play_2.11-2.3.6.jar!/logback.xml]
16:58:32,513 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList#27cfc9a3 - URL [jar:file:/common-api_2.11-0.1-SNAPSHOT-one-jar.jar!/lib/play_2.11-2.3.6.jar!/logback.xml] is not of type fil
e
16:58:32,636 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
16:58:32,644 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
16:58:32,648 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
16:58:32,662 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
16:58:32,681 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to ERROR
16:58:32,681 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
16:58:32,682 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
16:58:32,682 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator#72c84bd5 - Registering current configuration as safe fallback point
SLF4J: The following set of substitute loggers may have been accessed
SLF4J: during the initialization phase. Logging calls during this
SLF4J: phase were not honored. However, subsequent logging calls to these
SLF4J: loggers will work as normally expected.
SLF4J: See also http://www.slf4j.org/codes.html#substituteLogger
SLF4J: com.reactore.common.feature.security.domain.FeatureRepository$
The issue is there are multiple logback configuration files. It is advisable to not package logging config file (logback.xml) inside a JAR file.
A solution would be to package the application such that your app configuration looks like
my-app/
bin/
run-app.sh
config/
logback.xml
lib/
my-app.jar
You can then pinpoint to your logback.xml by this jvm argument
-Dlogback.configurationFile="config\logback.xml".