Log each successfully loaded rule file. At the moment there is only a summary message wich does not include any further information about the loaded files. --- src/polkitbackend/polkitbackendjsauthority.cpp | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/src/polkitbackend/polkitbackendjsauthority.cpp b/src/polkitbackend/polkitbackendjsauthority.cpp index 004748a..9373bf5 100644 --- a/src/polkitbackend/polkitbackendjsauthority.cpp +++ b/src/polkitbackend/polkitbackendjsauthority.cpp @@ -240,6 +240,9 @@ load_scripts (PolkitBackendJsAuthority *authority) } //g_print ("Successfully loaded and evaluated script `%s'\n", filename); + polkit_backend_authority_log (POLKIT_BACKEND_AUTHORITY (authority), + "Successfully loaded and evaluated script %s", + filename); num_scripts++; } -- 2.39.2 (Apple Git-143)