Quellcode durchsuchen

Comment out some verbose logging.

Stefano Cossu vor 6 Jahren
Ursprung
Commit
c90cc7b132

+ 2 - 2
lakesuperior/model/ldp_factory.py

@@ -42,8 +42,8 @@ class LdpFactory:
         imr_urn = nsc['fcres'][uid]
 
         rsrc_meta = current_app.rdfly.get_metadata(uid)
-        __class__._logger.debug('Extracted metadata: {}'.format(
-                pformat(set(rsrc_meta.graph))))
+        #__class__._logger.debug('Extracted metadata: {}'.format(
+        #        pformat(set(rsrc_meta.graph))))
         rdf_types = set(rsrc_meta.graph[imr_urn : RDF.type])
 
         if __class__.LDP_NR_TYPE in rdf_types:

+ 2 - 2
lakesuperior/store_layouts/ldp_rs/rsrc_centric_layout.py

@@ -257,8 +257,8 @@ class RsrcCentricLayout:
         if incl_inbound and len(gr):
             gr += self.get_inbound_rel(nsc['fcres'][uid])
 
-        self._logger.debug('Found resource: {}'.format(
-                gr.serialize(format='turtle').decode('utf-8')))
+        #self._logger.debug('Found resource: {}'.format(
+        #        gr.serialize(format='turtle').decode('utf-8')))
         rsrc = Resource(gr, nsc['fcres'][uid])
 
         if strict: