Fix for empty logging path error. Begining of restricted time code.