logging-site: add new function to reverse directions