diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2015-02-14 11:04:22 +0100 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2015-02-14 11:31:22 +0100 |
commit | 073713256939dac73d318faa9cabc3c8c93c5713 (patch) | |
tree | 0ce0afd53229dce4c059deebf5bb67411d554e1b /kamon-core/src/main/scala/kamon/supervisor/ModuleSupervisorSettings.scala | |
parent | 07fc83bb01c5873b47aff50d6d3abbb9f11842bd (diff) | |
download | Kamon-073713256939dac73d318faa9cabc3c8c93c5713.tar.gz Kamon-073713256939dac73d318faa9cabc3c8c93c5713.tar.bz2 Kamon-073713256939dac73d318faa9cabc3c8c93c5713.zip |
! core: special treatment of settings.
Diffstat (limited to 'kamon-core/src/main/scala/kamon/supervisor/ModuleSupervisorSettings.scala')
-rw-r--r-- | kamon-core/src/main/scala/kamon/supervisor/ModuleSupervisorSettings.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kamon-core/src/main/scala/kamon/supervisor/ModuleSupervisorSettings.scala b/kamon-core/src/main/scala/kamon/supervisor/ModuleSupervisorSettings.scala index 1b7d8a2e..c04157aa 100644 --- a/kamon-core/src/main/scala/kamon/supervisor/ModuleSupervisorSettings.scala +++ b/kamon-core/src/main/scala/kamon/supervisor/ModuleSupervisorSettings.scala @@ -19,7 +19,7 @@ package kamon.supervisor import akka.actor.ActorSystem case class AvailableModuleInfo(name: String, extensionClass: String, requiresAspectJ: Boolean, autoStart: Boolean) -case class ModuleSupervisorSettings(disableAspectJMissingWarning: Boolean, availableModules: List[AvailableModuleInfo]) { +case class ModuleSupervisorSettings(showAspectJMissingWarning: Boolean, availableModules: List[AvailableModuleInfo]) { val modulesRequiringAspectJ = availableModules.filter(_.requiresAspectJ) } @@ -29,7 +29,7 @@ object ModuleSupervisorSettings { import kamon.util.ConfigTools.Syntax val config = system.settings.config.getConfig("kamon.modules") - val disableAspectJMissingWarning = system.settings.config.getBoolean("kamon.disable-aspectj-missing-warning") + val showAspectJMissingWarning = system.settings.config.getBoolean("kamon.show-aspectj-missing-warning") val modules = config.firstLevelKeys val availableModules = modules.map { moduleName ⇒ @@ -43,7 +43,7 @@ object ModuleSupervisorSettings { } toList - ModuleSupervisorSettings(disableAspectJMissingWarning, availableModules) + ModuleSupervisorSettings(showAspectJMissingWarning, availableModules) } } |