Pārlūkot izejas kodu

log 写包含bucket文件名

visuddhinanda 2 gadi atpakaļ
vecāks
revīzija
3765c2c7f5
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      app/Console/Commands/ExportChapter.php

+ 2 - 2
app/Console/Commands/ExportChapter.php

@@ -354,8 +354,8 @@ class ExportChapter extends Command
         $tmpFile =  $bucket.'/'. $filename ;
         $tmpFile =  $bucket.'/'. $filename ;
         Storage::put($tmpFile, $fileDate);
         Storage::put($tmpFile, $fileDate);
 
 
-        $this->setStatus(1,'export done filename='.$filename);
-        Log::debug('task export offline chapter-table finished');
+        $this->setStatus(1,'export chapter done');
+        Log::debug('export chapter done, upload filename='.$tmpFile);
         return 0;
         return 0;
     }
     }
 }
 }