adding error logging as a submodule