mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-24 02:13:15 +00:00
update ArchiveJob info log
This commit is contained in:
@@ -874,7 +874,7 @@ class ArchiveJob extends AbstractJob
|
|||||||
|
|
||||||
$rid = $story->getRecordId();
|
$rid = $story->getRecordId();
|
||||||
|
|
||||||
$this->log('debug', sprintf('story %s created', $rid));
|
$this->log('info', sprintf('story %s created', $rid));
|
||||||
|
|
||||||
if ($genericdoc) {
|
if ($genericdoc) {
|
||||||
try {
|
try {
|
||||||
@@ -1191,12 +1191,12 @@ class ArchiveJob extends AbstractJob
|
|||||||
$cid = $node->getAttribute('cid');
|
$cid = $node->getAttribute('cid');
|
||||||
$captionFileName = $captionFileNode ? $captionFileNode->getAttribute('name') : null;
|
$captionFileName = $captionFileNode ? $captionFileNode->getAttribute('name') : null;
|
||||||
|
|
||||||
$this->log('debug', sprintf("Archiving file '%s'", $path . '/' . $file));
|
$this->log('info', sprintf("Archiving file '%s'", $path . '/' . $file));
|
||||||
if ($captionFileName !== null) {
|
if ($captionFileName !== null) {
|
||||||
$this->log('debug', sprintf(' ' . (" (caption in '%s')"), $captionFileName));
|
$this->log('info', sprintf(' ' . (" (caption in '%s')"), $captionFileName));
|
||||||
}
|
}
|
||||||
if ($grp_rid !== 0) {
|
if ($grp_rid !== 0) {
|
||||||
$this->log('debug', sprintf(' ' . (" into GRP rid=%s"), $grp_rid));
|
$this->log('info', sprintf(' ' . (" into GRP rid=%s"), $grp_rid));
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user