Skip to content

Commit

Permalink
Merge pull request #460 from renaissance-benchmarks/topic/akka-config
Browse files Browse the repository at this point in the history
Update Akka configuration to avoid registering JVM shutdown hooks and calling system exit on fatal error
  • Loading branch information
lbulej authored Nov 20, 2024
2 parents bfec74e + 4b4b38a commit 8c8f07b
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions benchmarks/actors-akka/src/main/resources/reference.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,23 @@

akka {

# Log level used by the configured loggers (see "loggers") as soon
# as they have been started; before that, see "stdout-loglevel"
# Options: OFF, ERROR, WARNING, INFO, DEBUG
loglevel = "WARNING"

# Log level for the very basic logger activated during ActorSystem startup.
# Log level for the very basic logger activated during startup.
# This logger prints the log messages to stdout (System.out).
# Options: OFF, ERROR, WARNING, INFO, DEBUG
stdout-loglevel = "WARNING"

# Log level used by the configured loggers (see "loggers") as soon
# as they have been started; before that, see "stdout-loglevel".
loglevel = "WARNING"

# Log complete configuration upon start. Enable for debugging.
log-config-on-start = off

# Do not exit directly from the framework, let the higher-ups do it.
jvm-exit-on-fatal-error = off

# Do not install JVM shutdown hooks to terminate the ActorSystem.
# The benchmark should do it in its tear down stage.
jvm-shutdown-hooks = off

}

0 comments on commit 8c8f07b

Please sign in to comment.