MINOR Replaced custom verbose logging flags with standard log levels
This commit is contained in:
parent
c08645b3da
commit
7464a47d83
|
@ -103,6 +103,8 @@ class CreateChangelog extends SilverStripeBuildTask {
|
|||
elseif ($from) $range = " $from..HEAD";
|
||||
else $range = "";
|
||||
|
||||
$this->log(sprintf('Changing to directory "%s"', $path), Project::MSG_INFO);
|
||||
|
||||
chdir("$this->baseDir/$path"); //switch to the module's path
|
||||
|
||||
// Internal serialization format, ideally this would be JSON but we can't escape characters in git logs.
|
||||
|
|
|
@ -11,11 +11,6 @@ All code covered by the BSD license located at http://silverstripe.org/bsd-licen
|
|||
*/
|
||||
abstract class SilverStripeBuildTask extends Task {
|
||||
|
||||
/**
|
||||
* @var boolean
|
||||
*/
|
||||
protected $verbose = false;
|
||||
|
||||
protected $cleanupEnv = false;
|
||||
|
||||
protected function configureEnvFile() {
|
||||
|
@ -72,7 +67,7 @@ TEXT;
|
|||
$ret = null;
|
||||
$return = null;
|
||||
|
||||
if($this->verbose) $this->log($cmd);
|
||||
$this->log($cmd, Project::MSG_VERBOSE);
|
||||
|
||||
if ($returnContent) {
|
||||
$ret = shell_exec($cmd);
|
||||
|
|
Loading…
Reference in New Issue