For my application, I want to introduce logging to an actual log file and not only to STDOUT. I now use Typesafe’s scala-logging and added Logback 1.4 as a dependency.
Currently I use it like this:
private val logger = com.typesafe.scalalogging.Logger(getClass) logger.debug("Hello, logging!")
This writes the log message to
STDOUT, but I want to use an actual log file. As far as I understand, this is done using Logback. Is Logback automatically used by Scala Logging if it is included as a dependency? Do I need to configure Scala Logging to use Logback?