diff --git a/app/Helpers/Generic.php b/app/Helpers/Generic.php index 2963d4ed28..6c244a2784 100644 --- a/app/Helpers/Generic.php +++ b/app/Helpers/Generic.php @@ -1,5 +1,4 @@ info(print_r($trace[1]['class'],1), []); - \Illuminate\Support\Facades\Log::channel('invoiceninja')->info($output, $context); + if(Ninja::isHosted()) + info($output); + else + \Illuminate\Support\Facades\Log::channel('invoiceninja')->info($output, $context); }