When executing several mapping files, it can be hard to see if an error occurred in one of them. This PR adds a logger to the SDM-RDFizer. Logs of all levels are streamed to the console to keep the current output. Additionally, logs of the levels logging.ERROR and above are stored in an error log. The default path is error.log. The path of the error log can be changed by passing a second argument to the semantify() method. I didn't change all prints to use the logger; only the errors are logged so far.
When executing several mapping files, it can be hard to see if an error occurred in one of them. This PR adds a logger to the SDM-RDFizer. Logs of all levels are streamed to the console to keep the current output. Additionally, logs of the levels
logging.ERROR
and above are stored in an error log. The default path iserror.log
. The path of the error log can be changed by passing a second argument to thesemantify()
method. I didn't change all prints to use the logger; only the errors are logged so far.