sdi-checker/docs/logs.csv
Guillaume RYCKELYNCK c6c2ee9c04 first commit
2024-06-22 22:00:42 +02:00

104 lines
5.8 KiB
CSV

C:\Users\ryckelynckg\Documents\data\git\sdi-consistence-check\sdi-consistence-check\checker.py
24,5;info;\nSDI check\n\n
25,5;info;mode;%s\n", args.mode)
27,9;info;metadata catalog CSW URL;%s", args.server)
28,9;info;INSPIRE mode;%s", args.inspire)
30,9;info;WxS service URL;%s", args.server)
31,5;info;output mode;log
32,5;info;\nstart time;%s", strftime;%Y-%m-%d %H:%M:%S", localtime()))
33,5;info;\n\n
44,17;info;#%d\n Layer;%s OK\n", curr_idx, layers[curr_idx])
46,9;error;#%d\n Layer;%s", error.layer_index, error.layer_name)
47,9;error; Error;%s\n" % str(error))
101,5;info;\n\n%d layers parsed, %d inconsistencies found (%d %%)", total_layers,
103,5;info;end time;%s", strftime;%Y-%m-%d %H:%M:%S", localtime()))
109,5;info;\n\n%d metadata parsed, %d inconsistencies found, %d unique metadatas in error (%d %%)",
111,5;info;end time;%s", strftime;%Y-%m-%d %H:%M:%S", localtime()))
147,5;addHandler(hdlr)
148,5;setLevel(os.getenv;LOG_LEVEL", logging.INFO))
163,9;debug;Querying %s ..." % args.server)
169,13;debug;Finished integrity check against %s GetCapabilities", args.mode)
176,13;debug(e, exc_info=True)
177,13;info;Unable to parse the remote OWS server;%s", str(e))
187,13;debug(e, exc_info=True)
188,13;fatal;Unable to query the remote CSW:\nError;%s\nPlease check the CSW url", e)
233,25;debug(e, exc_info=True)
234,25;error(e)
251,21;info;#%d\n UUID ;%s\n %s", global_idx, uuid, current_md.title)
264,33;debug;\tURI OK ;%s %s %s", uri["protocol"], uri['url'], uri['name'])
265,33;info; WMS url;OK
270,33;debug;\tURI OK ;%s %s %s", uri["protocol"], uri['url'], uri['name'])
271,33;info; WFS url;OK
273,33;debug;\tSkipping URI ;%s %s %s", uri["protocol"], uri['url'], uri['name'])
285,29;debug;\t /!\\ ---> Cannot find Layer ON GS ;%s %s %s %s %s",
287,29;info; %s url;KO;%s;%s" % ;WMS" if from_wms else "WFS",
295,25;info; WMS url;KO;No wms url found in the metadata
302,25;info; WFS url;KO;No wfs url found in the metadata
311,21;info;
C:\Users\ryckelynckg\Documents\data\git\sdi-consistence-check\sdi-consistence-check\credentials.py
24,17;info;No ~/.sdichecker file found, skipping credentials definition.
C:\Users\ryckelynckg\Documents\data\git\sdi-consistence-check\sdi-consistence-check\cswquerier.py
33,18;self.addHandler(logging.NullHandler())
53,14;self.debug(
119,14;self.info;\nData metadata;uuid %s \"%s\"", mdd.identifier, mdd.identification.title)
120,14;self.info;Service metadata;uuid %s \"%s\"", mds.identifier, mds.identification.title)
134,18;self.info;\tSkipping ;geoserver ;%s not in authorized list (%s)" % (url_parsed.hostname, url))
142,18;self.error;Invalid protocol ;%s " % protocol)
148,14;self.debug;Server Type;%s Version;%s URL;%s" % (type, version, url))
163,22;self.debug;\tcoupledRessources:
164,22;self.debug;\tOperation ;%s" % operation_name)
165,22;self.debug;\tidentifier ;%s" % identifier)
166,22;self.debug;\tLayer Name;%s" % layer_name)
167,22;self.debug;
C:\Users\ryckelynckg\Documents\data\git\sdi-consistence-check\sdi-consistence-check\GeonetworkToGeoserverUpdater.py
36,1;addHandler(out_hdlr)
37,1;setLevel(logging.INFO)
89,9;info;\"%s:%s\";layer / resource info updated\n", resource.workspace.name, resource.name)
91,9;info;dry-run mode;not updating the resource for layer \"%s\"" % resource.title)
93,13;info;\t- the title of the resource should have been updated
95,13;info;\t- the abstract of the resource should have been updated
97,13;info;\t- the attribution of the layer should have been updated
99,13;info;\t- an HTML metadata URL should have been added
100,9;info;\n
130,17;debug;Unable to extract attribution from \"%s\" ", val)
143,9;debug;Unable to parse the metadata attribution;%s", str(e), exc_info=1)
148,5;info;\nGeoNetwork To Geoserver Updater\n\n
149,5;info;mode;%s\n", args.mode)
151,9;info;item to query;%s", args.item)
152,5;info;GeoServer;%s", args.geoserver)
153,5;info;dry-run;%s", args.dry_run)
154,5;info;\nstart time;%s", strftime;%Y-%m-%d %H:%M:%S", localtime()))
155,5;info;\n\n
189,13;debug;Inspecting workspace ;%s" % ws)
194,21;debug;Inspecting layer ;%s:%s" % (res.workspace.name, res.name))
197,21;debug;Inconsistency found ;%s" % e)
212,13;error;workspace \"%s\" not found" % args.item)
253,13;error;Ressource \"%s\" not found." % args.item)
257,13;debug;Resource \"%s\" found, processing ..." % resource_found.name)
C:\Users\ryckelynckg\Documents\data\git\sdi-consistence-check\sdi-consistence-check\GeoserverToGeonetworkUpdater.py
63,1;addHandler(out_hdlr)
64,1;setLevel(logging.INFO)
76,5;info;\nGeoserver To Geonetwork Updater\n\n
77,5;info;Workspace to query;%s", args.workspace)
78,5;info;GeoServer;%s", args.geoserver)
79,5;info;GeoNetwork where to insert created metadata;%s", args.geonetwork)
80,5;info;Dry-run;%s", args.dry_run)
81,5;info;\nStart time;%s", strftime;%Y-%m-%d %H:%M:%S", localtime()))
82,5;info;\n\n
154,9;error(e)
173,9;error(e)
220,9;error;Unable to load the mapping file for title/abstract.", e)
228,9;error;Unable to connect;SSL error (hint;use --disable-ssl-verification option)
232,9;error;Workspace \"%s\" not found" % args.workspace)
246,21;info;No service metadata found for %s, creating one", args.workspace)
254,25;error;Unable to get a title or an abstract for created metadata, using default values
278,29;error;Unable to find all the data metadata for some layers on workspace '%s',"
280,29;error;Layer with missing data metadata URL;'%s:%s'", args.workspace,
286,25;info;Dry-run;would have created a service metadata for workspace '%s'"
298,25;info;MDD '%s' is not referenced into the service MD '%s' (on server '%s'). "
304,29;info;Dry-run;would have updated md %s [adding operatesOn on data md %s]",
C:\Users\ryckelynckg\Documents\data\git\sdi-consistence-check\sdi-consistence-check\utils.py
64,5;info;\nProcessing ended, here is a summary of the collected errors:
66,9;info;No error
69,13;info;* %s", err)
70,5;info;\nEnd time;%s", strftime;%Y-%m-%d %H:%M:%S", localtime()))