Skip to content

Commit 14cda0b

Browse files
Fix logging configuration in Faucet and VMServer as well
Co-authored-by: realcodywburns <13103499+realcodywburns@users.noreply.github.com>
1 parent 1175109 commit 14cda0b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/main/scala/com/chipprbots/ethereum/extvm/VMServer.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import com.chipprbots.ethereum.vm.VM
3535

3636
object VmServerApp extends Logger {
3737

38-
implicit val system: ActorSystem = ActorSystem("EVM_System")
38+
implicit val system: ActorSystem = ActorSystem("EVM_System", ConfigFactory.load())
3939

4040
def main(args: Array[String]): Unit = {
4141
val config = ConfigFactory.load()

src/main/scala/com/chipprbots/ethereum/faucet/jsonrpc/FaucetBuilder.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ package com.chipprbots.ethereum.faucet.jsonrpc
22

33
import org.apache.pekko.actor.ActorSystem
44

5+
import com.typesafe.config.ConfigFactory
6+
57
import cats.effect.unsafe.IORuntime
68

79
import scala.concurrent.Await
@@ -20,7 +22,7 @@ import com.chipprbots.ethereum.utils.Logger
2022

2123
trait ActorSystemBuilder {
2224
def systemName: String
23-
implicit lazy val system: ActorSystem = ActorSystem(systemName)
25+
implicit lazy val system: ActorSystem = ActorSystem(systemName, ConfigFactory.load())
2426
}
2527

2628
trait FaucetControllerBuilder {

0 commit comments

Comments
 (0)