mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-15 11:12:08 -06:00
Removed confidential data from logging routine. [skip ci]
This commit is contained in:
parent
8757929ead
commit
e89d613b7e
@ -29,7 +29,7 @@ class AccountId extends BasicConverter implements ConverterInterface
|
|||||||
$account = Auth::user()->accounts()->find($this->value);
|
$account = Auth::user()->accounts()->find($this->value);
|
||||||
|
|
||||||
if (!is_null($account)) {
|
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) ');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ class OpposingAccountIban extends BasicConverter implements ConverterInterface
|
|||||||
/** @var Account $account */
|
/** @var Account $account */
|
||||||
foreach ($set as $account) {
|
foreach ($set as $account) {
|
||||||
if ($account->iban == $this->value) {
|
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;
|
return $account;
|
||||||
}
|
}
|
||||||
|
@ -303,8 +303,8 @@ class Importer
|
|||||||
$opposing = $this->importData['opposing-account-object'];
|
$opposing = $this->importData['opposing-account-object'];
|
||||||
|
|
||||||
Log::info('Created journal #' . $journalId . ' of type ' . $type . '!');
|
Log::info('Created journal #' . $journalId . ' of type ' . $type . '!');
|
||||||
Log::info('Asset account ' . $asset->name . ' (#' . $asset->id . ') lost/gained: ' . $this->importData['amount']);
|
Log::info('Asset account ****** (#' . $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($opposing->accountType->type . ' ****** (#' . $opposing->id . ') lost/gained: ' . bcmul($this->importData['amount'], -1));
|
||||||
|
|
||||||
return $journal;
|
return $journal;
|
||||||
}
|
}
|
||||||
|
@ -164,7 +164,7 @@ class AssetAccount implements PostProcessorInterface
|
|||||||
$accounts = Auth::user()->accounts()->where('account_type_id', $accountType->id)->get();
|
$accounts = Auth::user()->accounts()->where('account_type_id', $accountType->id)->get();
|
||||||
foreach ($accounts as $entry) {
|
foreach ($accounts as $entry) {
|
||||||
if ($entry->name == $this->data['asset-account-name']) {
|
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;
|
return $entry;
|
||||||
}
|
}
|
||||||
|
@ -86,7 +86,7 @@ class OpposingAccount implements PostProcessorInterface
|
|||||||
$validator = Validator::make($check, $rules);
|
$validator = Validator::make($check, $rules);
|
||||||
if (is_string($iban) && strlen($iban) > 0 && !$validator->fails()) {
|
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();
|
$this->data['opposing-account-object'] = $this->parseIbanString();
|
||||||
|
|
||||||
return $this->data;
|
return $this->data;
|
||||||
@ -189,7 +189,7 @@ class OpposingAccount implements PostProcessorInterface
|
|||||||
$accounts = Auth::user()->accounts()->where('account_type_id', $accountType->id)->get();
|
$accounts = Auth::user()->accounts()->where('account_type_id', $accountType->id)->get();
|
||||||
foreach ($accounts as $entry) {
|
foreach ($accounts as $entry) {
|
||||||
if ($entry->name == $this->data['opposing-account-name']) {
|
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;
|
return $entry;
|
||||||
}
|
}
|
||||||
|
@ -34,14 +34,14 @@ class RabobankDescription
|
|||||||
*/
|
*/
|
||||||
protected function rabobankFixEmptyOpposing()
|
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) {
|
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];
|
$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']));
|
$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: "******".');
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user