backend/feature/add-description #63
@@ -197,7 +197,7 @@ class LandmarkManager:
 | 
				
			|||||||
                    out = 'ids center tags'
 | 
					                    out = 'ids center tags'
 | 
				
			||||||
                    )
 | 
					                    )
 | 
				
			||||||
            except Exception as e:
 | 
					            except Exception as e:
 | 
				
			||||||
                self.logger.warning(f"Error fetching landmarks: {str(e)}")
 | 
					                self.logger.debug(f"Failed to fetch landmarks, proceeding without: {str(e)}")
 | 
				
			||||||
                continue
 | 
					                continue
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            return_list += self._to_landmarks(result, landmarktype, preference_level)
 | 
					            return_list += self._to_landmarks(result, landmarktype, preference_level)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -29,7 +29,7 @@ def configure_logging():
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        logger.info(f"Logging to Loki at {loki_url} with {loki_handler.labels} and {is_debug=}")
 | 
					        logger.info(f"Logging to Loki at {loki_url} with {loki_handler.labels} and {is_debug=}")
 | 
				
			||||||
        logging_handlers = [loki_handler, logging.StreamHandler()]
 | 
					        logging_handlers = [loki_handler, logging.StreamHandler()]
 | 
				
			||||||
        logging_level = logging.DEBUG
 | 
					        logging_level = logging.DEBUG if is_debug else logging.INFO
 | 
				
			||||||
        # silence the chatty logs loki generates itself
 | 
					        # silence the chatty logs loki generates itself
 | 
				
			||||||
        logging.getLogger('urllib3.connectionpool').setLevel(logging.WARNING)
 | 
					        logging.getLogger('urllib3.connectionpool').setLevel(logging.WARNING)
 | 
				
			||||||
        # no need for time since it's added by loki or can be shown in kube logs
 | 
					        # no need for time since it's added by loki or can be shown in kube logs
 | 
				
			||||||
@@ -39,7 +39,7 @@ def configure_logging():
 | 
				
			|||||||
        # if we are in a debug (local) session, set verbose and rich logging
 | 
					        # if we are in a debug (local) session, set verbose and rich logging
 | 
				
			||||||
        from rich.logging import RichHandler
 | 
					        from rich.logging import RichHandler
 | 
				
			||||||
        logging_handlers = [RichHandler()]
 | 
					        logging_handlers = [RichHandler()]
 | 
				
			||||||
        logging_level = logging.DEBUG
 | 
					        logging_level = logging.DEBUG if is_debug else logging.INFO
 | 
				
			||||||
        logging_format = '%(asctime)s - %(name)s - %(levelname)s - %(message)s'
 | 
					        logging_format = '%(asctime)s - %(name)s - %(levelname)s - %(message)s'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user