Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Change loglevel to debug again.
James Cole5b8f67e992cb
diff --git a/app/Api/V2/Controllers/Chart/BudgetController.php b/app/Api/V2/Controllers/Chart/BudgetController.phpindex 781bcbbf41..0cac73ebe7 100644--- a/app/Api/V2/Controllers/Chart/BudgetController.php+++ b/app/Api/V2/Controllers/Chart/BudgetController.php@@ -178,7 +178,7 @@ class BudgetController extends Controller*/private function processExpenses(int $budgetId, array $array, Carbon $start, Carbon $end): array{- Log::info(sprintf('Created new ExchangeRateConverter in %s', __METHOD__));+ Log::debug(sprintf('Created new ExchangeRateConverter in %s', __METHOD__));$converter = new ExchangeRateConverter();$return = [];@@ -260,7 +260,7 @@ class BudgetController extends Controller*/private function processLimit(Budget $budget, BudgetLimit $limit): array{- Log::info(sprintf('Created new ExchangeRateConverter in %s', __METHOD__));+ Log::debug(sprintf('Created new ExchangeRateConverter in %s', __METHOD__));$end = clone $limit->end_date;$end->endOfDay();$spent = $this->opsRepository->listExpenses($limit->start_date, $end, null, new Collection([$budget]));diff --git a/app/Api/V2/Controllers/Chart/CategoryController.php b/app/Api/V2/Controllers/Chart/CategoryController.phpindex 5205813663..04f0f0a370 100644--- a/app/Api/V2/Controllers/Chart/CategoryController.php+++ b/app/Api/V2/Controllers/Chart/CategoryController.php@@ -77,7 +77,7 @@ class CategoryController extends Controller*/public function dashboard(DateRequest $request): JsonResponse{- Log::info(sprintf('Created new ExchangeRateConverter in %s', __METHOD__));+ Log::debug(sprintf('Created new ExchangeRateConverter in %s', __METHOD__));/** @var Carbon $start */$start = $this->parameters->get('start');diff --git a/app/Api/V2/Controllers/Summary/BasicController.php b/app/Api/V2/Controllers/Summary/BasicController.phpindex 428c4e50a8..759b3fb2d4 100644--- a/app/Api/V2/Controllers/Summary/BasicController.php+++ b/app/Api/V2/Controllers/Summary/BasicController.php@@ -245,7 +245,7 @@ class BasicController extends Controller*/private function getLeftToSpendInfo(Carbon $start, Carbon $end): array{- Log::info(sprintf('Created new ExchangeRateConverter in %s', __METHOD__));+ Log::debug(sprintf('Created new ExchangeRateConverter in %s', __METHOD__));app('log')->debug('Now in getLeftToSpendInfo');$return = [];$today = today(config('app.timezone'));diff --git a/app/Console/Commands/Tools/Cron.php b/app/Console/Commands/Tools/Cron.phpindex 0a49173885..3e60037036 100644--- a/app/Console/Commands/Tools/Cron.php+++ b/app/Console/Commands/Tools/Cron.php@@ -104,7 +104,7 @@ class Cron extends Commandprivate function exchangeRatesCronJob(bool $force, ?Carbon $date): void{- Log::info(sprintf('Created new ExchangeRateConverter in %s', __METHOD__));+ Log::debug(sprintf('Created new ExchangeRateConverter in %s', __METHOD__));$exchangeRates = new ExchangeRatesCronjob();$exchangeRates->setForce($force);// set date in cron job:diff --git a/app/Helpers/Report/NetWorth.php b/app/Helpers/Report/NetWorth.phpindex f2c94e7856..7773783e16 100644--- a/app/Helpers/Report/NetWorth.php+++ b/app/Helpers/Report/NetWorth.php@@ -73,7 +73,7 @@ class NetWorth implements NetWorthInterfacereturn $cache->get();}app('log')->debug(sprintf('Now in byAccounts("%s", "%s")', $ids, $date->format('Y-m-d')));- Log::info(sprintf('Created new ExchangeRateConverter in %s', __METHOD__));+ Log::debug(sprintf('Created new ExchangeRateConverter in %s', __METHOD__));$default = app('amount')->getDefaultCurrency();$converter = new ExchangeRateConverter();diff --git a/app/Repositories/UserGroups/Bill/BillRepository.php b/app/Repositories/UserGroups/Bill/BillRepository.phpindex 309fbf0ab2..9a279e6182 100644--- a/app/Repositories/UserGroups/Bill/BillRepository.php+++ b/app/Repositories/UserGroups/Bill/BillRepository.php@@ -67,7 +67,7 @@ class BillRepository implements BillRepositoryInterfacepublic function sumPaidInRange(Carbon $start, Carbon $end): array{- Log::info(sprintf('Created new ExchangeRateConverter in %s', __METHOD__));+ Log::debug(sprintf('Created new ExchangeRateConverter in %s', __METHOD__));$bills = $this->getActiveBills();$default = app('amount')->getDefaultCurrency();$return = [];@@ -136,7 +136,7 @@ class BillRepository implements BillRepositoryInterfacepublic function sumUnpaidInRange(Carbon $start, Carbon $end): array{- Log::info(sprintf('Created new ExchangeRateConverter in %s', __METHOD__));+ Log::debug(sprintf('Created new ExchangeRateConverter in %s', __METHOD__));$bills = $this->getActiveBills();$return = [];$default = app('amount')->getDefaultCurrency();diff --git a/app/Repositories/UserGroups/Budget/AvailableBudgetRepository.php b/app/Repositories/UserGroups/Budget/AvailableBudgetRepository.phpindex 171af1ae40..645b948844 100644--- a/app/Repositories/UserGroups/Budget/AvailableBudgetRepository.php+++ b/app/Repositories/UserGroups/Budget/AvailableBudgetRepository.php@@ -39,7 +39,7 @@ class AvailableBudgetRepository implements AvailableBudgetRepositoryInterfacepublic function getAvailableBudgetWithCurrency(Carbon $start, Carbon $end): array{- Log::info(sprintf('Created new ExchangeRateConverter in %s', __METHOD__));+ Log::debug(sprintf('Created new ExchangeRateConverter in %s', __METHOD__));$return = [];$converter = new ExchangeRateConverter();$default = app('amount')->getDefaultCurrency();diff --git a/app/Support/Http/Api/AccountBalanceGrouped.php b/app/Support/Http/Api/AccountBalanceGrouped.phpindex 1b0d0ce364..8e0009a9ba 100644--- a/app/Support/Http/Api/AccountBalanceGrouped.php+++ b/app/Support/Http/Api/AccountBalanceGrouped.php@@ -118,7 +118,7 @@ class AccountBalanceGrouped*/public function groupByCurrencyAndPeriod(): void{- Log::info(sprintf('Created new ExchangeRateConverter in %s', __METHOD__));+ Log::debug(sprintf('Created new ExchangeRateConverter in %s', __METHOD__));$converter = new ExchangeRateConverter();// loop. group by currency and by period.diff --git a/app/Support/Http/Api/SummaryBalanceGrouped.php b/app/Support/Http/Api/SummaryBalanceGrouped.phpindex f70f6428ed..db3c9636b4 100644--- a/app/Support/Http/Api/SummaryBalanceGrouped.php+++ b/app/Support/Http/Api/SummaryBalanceGrouped.php@@ -45,7 +45,7 @@ class SummaryBalanceGroupedpublic function groupTransactions(string $key, array $journals): void{- Log::info(sprintf('Created new ExchangeRateConverter in %s', __METHOD__));+ Log::debug(sprintf('Created new ExchangeRateConverter in %s', __METHOD__));Log::debug(sprintf('Now in groupTransactions with key "%s" and %d journal(s)', $key, count($journals)));$converter = new ExchangeRateConverter();$this->keys[] = $key;diff --git a/app/Support/Steam.php b/app/Support/Steam.phpindex 430e374f55..ece110766b 100644--- a/app/Support/Steam.php+++ b/app/Support/Steam.php@@ -239,7 +239,7 @@ class Steam$balances[$formatted] = $startBalance;Log::debug(sprintf('Start balance on %s is %s', $formatted, $startBalance));- Log::info(sprintf('Created new ExchangeRateConverter in %s', __METHOD__));+ Log::debug(sprintf('Created new ExchangeRateConverter in %s', __METHOD__));$converter = new ExchangeRateConverter();// not sure why this is happening:@@ -423,7 +423,7 @@ class Steam// need to convert the others. All sets use the "amount" value as their base (that's easy)// but we need to convert each transaction separately because the date difference may// incur huge currency changes.- Log::info(sprintf('Created new ExchangeRateConverter in %s', __METHOD__));+ Log::debug(sprintf('Created new ExchangeRateConverter in %s', __METHOD__));$start = clone $date;$end = clone $date;$converter = new ExchangeRateConverter();diff --git a/app/Transformers/V2/BillTransformer.php b/app/Transformers/V2/BillTransformer.phpindex 2ee0417e18..df6ee5bfb9 100644--- a/app/Transformers/V2/BillTransformer.php+++ b/app/Transformers/V2/BillTransformer.php@@ -93,7 +93,7 @@ class BillTransformer extends AbstractTransformer'object_group_order' => $order,];}- Log::info(sprintf('Created new ExchangeRateConverter in %s', __METHOD__));+ Log::debug(sprintf('Created new ExchangeRateConverter in %s', __METHOD__));$this->default = app('amount')->getDefaultCurrency();$this->converter = new ExchangeRateConverter();diff --git a/app/Transformers/V2/PiggyBankTransformer.php b/app/Transformers/V2/PiggyBankTransformer.phpindex 9a74f6cdc4..0918755c94 100644--- a/app/Transformers/V2/PiggyBankTransformer.php+++ b/app/Transformers/V2/PiggyBankTransformer.php@@ -132,7 +132,7 @@ class PiggyBankTransformer extends AbstractTransformer$this->notes[$id] = $note;}- Log::info(sprintf('Created new ExchangeRateConverter in %s', __METHOD__));+ Log::debug(sprintf('Created new ExchangeRateConverter in %s', __METHOD__));$this->default = app('amount')->getDefaultCurrencyByUserGroup(auth()->user()->userGroup);$this->converter = new ExchangeRateConverter();}diff --git a/app/Transformers/V2/TransactionGroupTransformer.php b/app/Transformers/V2/TransactionGroupTransformer.phpindex f26c10127d..305b9d03a7 100644--- a/app/Transformers/V2/TransactionGroupTransformer.php+++ b/app/Transformers/V2/TransactionGroupTransformer.php@@ -103,7 +103,7 @@ class TransactionGroupTransformer extends AbstractTransformer}// create converter- Log::info(sprintf('Created new ExchangeRateConverter in %s', __METHOD__));+ Log::debug(sprintf('Created new ExchangeRateConverter in %s', __METHOD__));$this->converter = new ExchangeRateConverter();}