Added a logging of an event.

This commit is contained in:
Loïc d'Anterroches 2011-01-08 21:33:51 +01:00
parent 93af6a68bd
commit cdeefb43a5

View File

@ -55,6 +55,7 @@ Pluf_Dispatcher::loadControllers(Pluf::f('idf_views'));
$params = array('repo_dir' => $argv[1], $params = array('repo_dir' => $argv[1],
'revision' => $argv[2], 'revision' => $argv[2],
'env' => array_merge($_ENV, $_SERVER)); 'env' => array_merge($_ENV, $_SERVER));
Pluf_Log::event(array('svnpostcommit.php', 'Send run signal.', $params));
Pluf_Signal::send('svnpostcommit.php::run', 'svnpostcommit.php', $params); Pluf_Signal::send('svnpostcommit.php::run', 'svnpostcommit.php', $params);