@@ -21,7 +21,7 @@ use nym_api_requests::models::{
21
21
use nym_http_api_common:: { FormattedResponse , OutputParams } ;
22
22
use nym_mixnet_contract_common:: NodeId ;
23
23
use nym_types:: monitoring:: { MonitorMessage , MonitorResults } ;
24
- use tracing:: { error, info } ;
24
+ use tracing:: error;
25
25
26
26
pub ( super ) fn mandatory_routes ( ) -> Router < AppState > {
27
27
Router :: new ( )
@@ -77,8 +77,6 @@ pub(crate) async fn submit_route_monitoring_results(
77
77
State ( state) : State < AppState > ,
78
78
Json ( message) : Json < MonitorMessage > ,
79
79
) -> AxumResult < ( ) > {
80
- info ! ( "############ Received route monitoring results" ) ;
81
-
82
80
if !message. is_in_allowed ( ) {
83
81
return Err ( AxumErrorResponse :: forbidden (
84
82
"Monitor not registered to submit results" ,
@@ -95,15 +93,8 @@ pub(crate) async fn submit_route_monitoring_results(
95
93
96
94
match message. results ( ) {
97
95
MonitorResults :: Route ( results) => {
98
- info ! (
99
- "############ Submitting {} route monitoring results" ,
100
- results. len( )
101
- ) ;
102
96
match state. storage . submit_route_monitoring_results ( results) . await {
103
- Ok ( _) => {
104
- info ! ( "############ Successfully submitted route monitoring results" ) ;
105
- Ok ( ( ) )
106
- }
97
+ Ok ( _) => Ok ( ( ) ) ,
107
98
Err ( err) => {
108
99
error ! ( "failed to submit node monitoring results: {err}" ) ;
109
100
Err ( AxumErrorResponse :: internal_msg (
0 commit comments