diff --git a/app/Jobs/Entity/CreateEntityPdf.php b/app/Jobs/Entity/CreateEntityPdf.php index 0d20f9e3a574..049920c71dda 100644 --- a/app/Jobs/Entity/CreateEntityPdf.php +++ b/app/Jobs/Entity/CreateEntityPdf.php @@ -202,10 +202,16 @@ class CreateEntityPdf implements ShouldQueue if(!Storage::disk($this->disk)->exists($path)) Storage::disk($this->disk)->makeDirectory($path, 0775); - nlog($file_path); + // nlog($file_path); Storage::disk($this->disk)->put($file_path, $pdf); + $path = Storage::disk($this->disk)->put($file_path); + $url = Storage::disk($this->disk)->url($file_path); + + info($path); + info($url); + } catch(\Exception $e) { diff --git a/config/logging.php b/config/logging.php index cfa68f0e57a7..9adace7c1ce4 100644 --- a/config/logging.php +++ b/config/logging.php @@ -102,6 +102,7 @@ return [ 'invoiceninja' => [ 'driver' => 'single', + 'level' => 'debug', 'path' => storage_path('logs/invoiceninja.log'), ],