Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
65cac4c6e2 | ||
|
|
1c1ace58db |
@@ -1 +1 @@
|
||||
9.0.5
|
||||
9.0.6
|
||||
|
||||
@@ -38,7 +38,7 @@ set +o allexport;
|
||||
|
||||
if [ "${go_flag}" != "go" ]; then
|
||||
echo "No go flag given";
|
||||
echo "Would publish ${VERSION} on ${file_last_published}";
|
||||
echo "Would publish ${VERSION}";
|
||||
echo "[END]";
|
||||
exit;
|
||||
fi;
|
||||
|
||||
@@ -407,13 +407,6 @@ class Logging
|
||||
}
|
||||
$this->setLogFlag($log_flag_key);
|
||||
}
|
||||
// init per run uid
|
||||
if ($this->getLogFlag(Flag::per_run)) {
|
||||
$this->setLogUniqueId();
|
||||
} elseif ($this->getLogFlag(Flag::per_date)) {
|
||||
// init file date
|
||||
$this->log_file_date = date('Y-m-d');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -776,6 +769,13 @@ class Logging
|
||||
public function setLogFlag(Flag $flag): void
|
||||
{
|
||||
$this->log_flags |= $flag->value;
|
||||
// init per run uid
|
||||
if ($this->getLogFlag(Flag::per_run)) {
|
||||
$this->setLogUniqueId();
|
||||
} elseif ($this->getLogFlag(Flag::per_date)) {
|
||||
// init file date
|
||||
$this->setLogDate();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user