diff --git a/src/flog.h b/src/flog.h index 7fa7421c9..ed9988cb8 100644 --- a/src/flog.h +++ b/src/flog.h @@ -98,6 +98,7 @@ class category_list_t { category_t reader{L"reader", L"The interactive reader/input system"}; category_t complete{L"complete", L"The completion system"}; + category_t path{L"path", L"Searching/using paths"}; }; /// The class responsible for logging. diff --git a/src/path.cpp b/src/path.cpp index f4b778249..cc5e87618 100644 --- a/src/path.cpp +++ b/src/path.cpp @@ -122,7 +122,7 @@ bool path_get_path(const wcstring &cmd, wcstring *out_path, const environment_t } wcstring_list_t path_get_paths(const wcstring &cmd, const environment_t &vars) { - debug(3, L"path_get_paths('%ls')", cmd.c_str()); + FLOGF(path, L"path_get_paths('%ls')", cmd.c_str()); wcstring_list_t paths; // If the command has a slash, it must be an absolute or relative path and thus we don't bother