diff --git a/app/Helpers/Csv/Converter/AccountId.php b/app/Helpers/Csv/Converter/AccountId.php index eaf021e839..333839ef0e 100644 --- a/app/Helpers/Csv/Converter/AccountId.php +++ b/app/Helpers/Csv/Converter/AccountId.php @@ -29,7 +29,7 @@ class AccountId extends BasicConverter implements ConverterInterface $account = Auth::user()->accounts()->find($this->value); if (!is_null($account)) { - Log::debug('Found ' . $account->accountType->type . ' named "' . $account->name . '" with ID: ' . $this->value.' (not mapped) '); + Log::debug('Found ' . $account->accountType->type . ' named "******" with ID: ' . $this->value.' (not mapped) '); } } diff --git a/app/Helpers/Csv/Converter/OpposingAccountIban.php b/app/Helpers/Csv/Converter/OpposingAccountIban.php index 71a77f7310..566c693665 100644 --- a/app/Helpers/Csv/Converter/OpposingAccountIban.php +++ b/app/Helpers/Csv/Converter/OpposingAccountIban.php @@ -46,7 +46,7 @@ class OpposingAccountIban extends BasicConverter implements ConverterInterface /** @var Account $account */ foreach ($set as $account) { if ($account->iban == $this->value) { - Log::debug('OpposingAccountIban::convert found an Account (#' . $account->id . ': ' . $account->name . ') with IBAN ' . $this->value); + Log::debug('OpposingAccountIban::convert found an Account (#' . $account->id . ': ******) with IBAN ******'); return $account; } diff --git a/app/Helpers/Csv/Importer.php b/app/Helpers/Csv/Importer.php index 77aabb1170..aa6b32334c 100644 --- a/app/Helpers/Csv/Importer.php +++ b/app/Helpers/Csv/Importer.php @@ -303,8 +303,8 @@ class Importer $opposing = $this->importData['opposing-account-object']; Log::info('Created journal #' . $journalId . ' of type ' . $type . '!'); - Log::info('Asset account ' . $asset->name . ' (#' . $asset->id . ') lost/gained: ' . $this->importData['amount']); - Log::info($opposing->accountType->type . ' ' . $opposing->name . ' (#' . $opposing->id . ') lost/gained: ' . bcmul($this->importData['amount'], -1)); + Log::info('Asset account ****** (#' . $asset->id . ') lost/gained: ' . $this->importData['amount']); + Log::info($opposing->accountType->type . ' ****** (#' . $opposing->id . ') lost/gained: ' . bcmul($this->importData['amount'], -1)); return $journal; } diff --git a/app/Helpers/Csv/PostProcessing/AssetAccount.php b/app/Helpers/Csv/PostProcessing/AssetAccount.php index 0452fd4fcf..a3a91f2de4 100644 --- a/app/Helpers/Csv/PostProcessing/AssetAccount.php +++ b/app/Helpers/Csv/PostProcessing/AssetAccount.php @@ -164,7 +164,7 @@ class AssetAccount implements PostProcessorInterface $accounts = Auth::user()->accounts()->where('account_type_id', $accountType->id)->get(); foreach ($accounts as $entry) { if ($entry->name == $this->data['asset-account-name']) { - Log::debug('Found an asset account with this name (#' . $entry->id . ': ' . $entry->name . ')'); + Log::debug('Found an asset account with this name (#' . $entry->id . ': ******)'); return $entry; } diff --git a/app/Helpers/Csv/PostProcessing/OpposingAccount.php b/app/Helpers/Csv/PostProcessing/OpposingAccount.php index de7f9b69c3..2a0e3f6e2b 100644 --- a/app/Helpers/Csv/PostProcessing/OpposingAccount.php +++ b/app/Helpers/Csv/PostProcessing/OpposingAccount.php @@ -86,7 +86,7 @@ class OpposingAccount implements PostProcessorInterface $validator = Validator::make($check, $rules); if (is_string($iban) && strlen($iban) > 0 && !$validator->fails()) { - Log::debug('OpposingAccountPostProcession: opposing-account-iban is a string (' . $this->data['opposing-account-iban'] . ').'); + Log::debug('OpposingAccountPostProcession: opposing-account-iban is a string (******).'); $this->data['opposing-account-object'] = $this->parseIbanString(); return $this->data; @@ -189,7 +189,7 @@ class OpposingAccount implements PostProcessorInterface $accounts = Auth::user()->accounts()->where('account_type_id', $accountType->id)->get(); foreach ($accounts as $entry) { if ($entry->name == $this->data['opposing-account-name']) { - Log::debug('Found an account with this name (#' . $entry->id . ': ' . $entry->name . ')'); + Log::debug('Found an account with this name (#' . $entry->id . ': ******)'); return $entry; } diff --git a/app/Helpers/Csv/Specifix/RabobankDescription.php b/app/Helpers/Csv/Specifix/RabobankDescription.php index 79115252b8..19304f16db 100644 --- a/app/Helpers/Csv/Specifix/RabobankDescription.php +++ b/app/Helpers/Csv/Specifix/RabobankDescription.php @@ -34,14 +34,14 @@ class RabobankDescription */ protected function rabobankFixEmptyOpposing() { - Log::debug('RaboSpecifix: Opposing account name is "' . $this->data['opposing-account-name'] . '".'); + Log::debug('RaboSpecifix: Opposing account name is "******".'); if (is_string($this->data['opposing-account-name']) && strlen($this->data['opposing-account-name']) == 0) { - Log::debug('RaboSpecifix: opp-name is zero length, changed to: "' . $this->row[10] . '"'); + Log::debug('RaboSpecifix: opp-name is zero length, changed to: "******"'); $this->data['opposing-account-name'] = $this->row[10]; - Log::debug('Description was: "' . $this->data['description'] . '".'); + Log::debug('Description was: "******".'); $this->data['description'] = trim(str_replace($this->row[10], '', $this->data['description'])); - Log::debug('Description is now: "' . $this->data['description'] . '".'); + Log::debug('Description is now: "******".'); } }