mirror of
https://github.com/friendica/friendica
synced 2025-04-30 06:24:24 +02:00
Some loglevels are adjusted to more reasonablöe levels
This commit is contained in:
parent
90717b602e
commit
baf75adfca
10 changed files with 23 additions and 22 deletions
|
@ -347,12 +347,13 @@ class HTTPSignature
|
|||
if (!empty($gsid)) {
|
||||
$insertFields['gsid'] = $gsid;
|
||||
}
|
||||
if (!DBA::insert('inbox-status', $insertFields, Database::INSERT_IGNORE)) {
|
||||
DBA::insert('inbox-status', $insertFields, Database::INSERT_IGNORE);
|
||||
|
||||
$status = DBA::selectFirst('inbox-status', [], ['url' => $url]);
|
||||
if (empty($status)) {
|
||||
Logger::warning('Unable to insert inbox-status row', $insertFields);
|
||||
return;
|
||||
}
|
||||
|
||||
$status = DBA::selectFirst('inbox-status', [], ['url' => $url]);
|
||||
}
|
||||
|
||||
if ($success) {
|
||||
|
|
|
@ -69,7 +69,7 @@ class LDSignature
|
|||
$dhash = self::hash(self::signableData($data));
|
||||
|
||||
$x = Crypto::rsaVerify($ohash . $dhash, base64_decode($data['signature']['signatureValue']), $pubkey);
|
||||
Logger::notice('LD-verify', ['verified' => (int)$x, 'actor' => $profile['url']]);
|
||||
Logger::info('LD-verify', ['verified' => (int)$x, 'actor' => $profile['url']]);
|
||||
|
||||
if (empty($x)) {
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue