Skip to content

Commit

Permalink
use debug message isntead of info
Browse files Browse the repository at this point in the history
  • Loading branch information
nadar committed Nov 12, 2018
1 parent e400b1a commit 77af87c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/base/ModuleReflection.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ public function run()
throw new NotFoundHttpException(sprintf("Unable to create controller '%s' for module '%s'.", $requestRoute['route'], $this->module->id));
}

Yii::info('LUYA module run module "'.$this->module->id.'" route ' . $requestRoute['route'], __METHOD__);
Yii::debug('LUYA module run module "'.$this->module->id.'" route ' . $requestRoute['route'], __METHOD__);

$this->controller = $controller[0];
$originalController = Yii::$app->controller;
Expand Down
4 changes: 2 additions & 2 deletions core/traits/CacheableTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,10 @@ public function getHasCache($key)
$enumKey = (is_array($key)) ? implode(",", $key) : $key;

if ($data) {
Yii::info("Cacheable trait key '$enumKey' successfully loaded from cache.", __METHOD__);
Yii::debug("Cacheable trait key '$enumKey' successfully loaded from cache.", __METHOD__);
return $data;
}
Yii::info("Cacheable trait key '$enumKey' has not been found in cache.", __METHOD__);
Yii::debug("Cacheable trait key '$enumKey' has not been found in cache.", __METHOD__);
}

return false;
Expand Down

0 comments on commit 77af87c

Please sign in to comment.