Commit f44327e1 authored by Marc Vef's avatar Marc Vef
Browse files

reset log verbosities

parent c0489cc3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ namespace hook {

int hook_openat(int dirfd, const char* cpath, int flags, mode_t mode) {

    LOG(INFO, "{}() called with fd: {}, path: \"{}\", flags: {}, mode: {}",
    LOG(DEBUG, "{}() called with fd: {}, path: \"{}\", flags: {}, mode: {}",
        __func__, dirfd, cpath, flags, mode);

    std::string normalized_path{};
+1 −1
Original line number Diff line number Diff line
@@ -84,7 +84,7 @@ string normalize(const string& path) {
        slash_idx.push(normalized.size() - 1);
        normalized.append(path, start, comp_size);
    }
    LOG(INFO, "path: '{}', normalized: '{}'", path, normalized);
    LOG(DEBUG, "path: '{}', normalized: '{}'", path, normalized);
    return normalized;
}

+1 −1
Original line number Diff line number Diff line
@@ -412,7 +412,7 @@ pair<int, shared_ptr<gkfs::filemap::OpenDir>> forward_get_dirents(const string&
        }
    }

    LOG(INFO,
    LOG(DEBUG,
        "{}() path '{}' send rpc_srv_get_dirents() rpc to '{}' targets. per_host_buff_size '{}' Waiting on reply next and deserialize",
        __func__, path, targets.size(), per_host_buff_size);