summaryrefslogtreecommitdiffstats
path: root/wsd/COOLWSD.cpp
diff options
context:
space:
mode:
authorRash419 <rashesh.padia@collabora.com>2023-10-12 14:29:08 +0530
committerRashesh Padia <rasheshpadia419@gmail.com>2023-10-17 14:57:10 +0530
commit11a0e78ed4e1aabc28625ecab21903834dd83a3e (patch)
treeff44e2db61a7b5ea784fbdc7a48db902db46ac27 /wsd/COOLWSD.cpp
parentcid#318978 silence Using invalid iterator (diff)
downloadonline-11a0e78ed4e1aabc28625ecab21903834dd83a3e.tar.gz
online-11a0e78ed4e1aabc28625ecab21903834dd83a3e.zip
admin:log activities irrespective of logging.level
- It logs activities like when admin logged in, authenticated metrics endpoint accessed, external monitor getting connected and admin actions like kill the document etc Signed-off-by: Rash419 <rashesh.padia@collabora.com> Change-Id: I059f6b6ee0d8269aec7e3f521622773e348304a3
Diffstat (limited to 'wsd/COOLWSD.cpp')
-rw-r--r--wsd/COOLWSD.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/wsd/COOLWSD.cpp b/wsd/COOLWSD.cpp
index 0be5b4097a..d6a59a1048 100644
--- a/wsd/COOLWSD.cpp
+++ b/wsd/COOLWSD.cpp
@@ -2063,7 +2063,7 @@ void COOLWSD::innerInitialize(Application& self)
// 3) the default parameter of getConfigValue() call. That is used when the
// setting is present in coolwsd.xml, but empty (i.e. use the default).
static const std::map<std::string, std::string> DefAppConfig = {
- { "accessibility.enable", "false"},
+ { "accessibility.enable", "false" },
{ "allowed_languages", "de_DE en_GB en_US es_ES fr_FR it nl pt_BR pt_PT ru" },
{ "admin_console.enable_pam", "false" },
{ "child_root_path", "jails" },
@@ -2209,7 +2209,11 @@ void COOLWSD::innerInitialize(Application& self)
#if !MOBILEAPP
{ "help_url", HELP_URL },
#endif
- { "product_name", APP_NAME }
+ { "product_name", APP_NAME },
+ { "admin_console.logging.admin_login", "true" },
+ { "admin_console.logging.metrics_fetch", "true" },
+ { "admin_console.logging.monitor_connect", "true" },
+ { "admin_console.logging.admin_action", "true" }
};
// Set default values, in case they are missing from the config file.