]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
fix(ERP-247): change срок доставки log level from info to warning for Loki visibility
authorAleksey Filippov <Aleksey.Filippov@erp-flowers.ru>
Sat, 28 Feb 2026 19:44:02 +0000 (22:44 +0300)
committerAleksey Filippov <Aleksey.Filippov@erp-flowers.ru>
Sat, 28 Feb 2026 19:44:02 +0000 (22:44 +0300)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
erp24/services/MarketplaceService.php

index 11a6c58d9971f0968dbd81cd0345e19d75ea48f4..b84aaffb98a3e52a30f519a2912ea599fe2c4bdc 100644 (file)
@@ -1352,7 +1352,7 @@ class MarketplaceService
                             $shipments = $delivery->getShipments();
                             if ($shipments) {
                                 foreach ($shipments as $index => $shipment) {
-                                    Yii::info('срок доставки ' . $index . ': ' . json_encode($shipment, JSON_UNESCAPED_UNICODE), 'marketplace');
+                                    Yii::warning('срок доставки ' . $index . ': ' . json_encode($shipment, JSON_UNESCAPED_UNICODE), 'marketplace');
                                 }
                                 $deliveryDateTo = ($shipments[0])->getShipmentDate() ?? null;
                                 $deliveryTimeTo = ($shipments[0])->getShipmentTime() ?? '';
@@ -1589,7 +1589,7 @@ class MarketplaceService
                         $shipments = $delivery ? $delivery->getShipments() : null;
                         if ($shipments) {
                             foreach ($shipments as $index => $shipment) {
-                                Yii::info('срок доставки ' . $index . ': ' . json_encode($shipment, JSON_UNESCAPED_UNICODE), 'marketplace');
+                                Yii::warning('срок доставки ' . $index . ': ' . json_encode($shipment, JSON_UNESCAPED_UNICODE), 'marketplace');
                             }
                             $deliveryDateTo = ($shipments[0])->getShipmentDate() ?? null;
                             $deliveryTimeTo = ($shipments[0])->getShipmentTime() ?? '';
@@ -1869,7 +1869,7 @@ class MarketplaceService
                                 $shipments = $delivery->getShipments();
                                 if ($shipments) {
                                     foreach ($shipments as $index => $shipment) {
-                                        Yii::info('срок доставки ' . $index . ': ' . json_encode($shipment, JSON_UNESCAPED_UNICODE), 'marketplace');
+                                        Yii::warning('срок доставки ' . $index . ': ' . json_encode($shipment, JSON_UNESCAPED_UNICODE), 'marketplace');
                                     }
                                     $deliveryDateTo = ($shipments[0])->getShipmentDate() ?? null;
                                     $deliveryTimeTo = ($shipments[0])->getShipmentTime() ?? '';
@@ -1928,7 +1928,7 @@ class MarketplaceService
                             $shipments = $delivery->getShipments();
                             if ($shipments) {
                                 foreach ($shipments as $index => $shipment) {
-                                    Yii::info('срок доставки ' . $index . ': ' . json_encode($shipment, JSON_UNESCAPED_UNICODE), 'marketplace');
+                                    Yii::warning('срок доставки ' . $index . ': ' . json_encode($shipment, JSON_UNESCAPED_UNICODE), 'marketplace');
                                 }
                                 $deliveryDateTo = ($shipments[0])->getShipmentDate() ?? null;
                                 $deliveryTimeTo = ($shipments[0])->getShipmentTime() ?? '';