Browse Source

Adding a scope to shell dispatcher logging messages

Jose Lorenzo Rodriguez 11 years ago
parent
commit
e31f899bca
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/Console/ShellDispatcher.php

+ 3 - 2
src/Console/ShellDispatcher.php

@@ -213,7 +213,7 @@ class ShellDispatcher {
 					Log::write(
 						'debug',
 						"command '$shell' in plugin '$plugin' was not aliased, conflicts with '$other'",
-						['console']
+						['shell-dispatcher']
 					);
 				}
 				$aliases += [$shell => $plugin];
@@ -224,7 +224,8 @@ class ShellDispatcher {
 			if (isset($fixed[$shell])) {
 				Log::write(
 					'debug',
-					"command '$shell' in plugin '$plugin' was not aliased, conflicts with another shell"
+					"command '$shell' in plugin '$plugin' was not aliased, conflicts with another shell",
+					['shell-dispatcher']
 				);
 				continue;
 			}