Fix to allow record logs outside current dir