From b7a34962cdf65da4ceb2e73137d342184793a984 Mon Sep 17 00:00:00 2001 From: elasticsearchmachine <58790826+elasticsearchmachine@users.noreply.github.com> Date: Fri, 30 Jul 2021 09:02:03 -0400 Subject: [PATCH] Suggest DEBUG level logging instead for SAML (#74661) (#75876) * Suggest DEBUG level logging instead for SAML * Update troubleshooting.asciidoc * Incorporate reviewer feedback Co-authored-by: Elastic Machine Co-authored-by: Adam Locke Co-authored-by: Pius Co-authored-by: Elastic Machine Co-authored-by: Adam Locke --- .../docs/en/security/troubleshooting.asciidoc | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/x-pack/docs/en/security/troubleshooting.asciidoc b/x-pack/docs/en/security/troubleshooting.asciidoc index f076b89180d08..4e306de5b2898 100644 --- a/x-pack/docs/en/security/troubleshooting.asciidoc +++ b/x-pack/docs/en/security/troubleshooting.asciidoc @@ -682,19 +682,19 @@ the `basic` `authProvider` in {kib}. The process is documented in the *Logging:* -Very detailed trace logging can be enabled specifically for the SAML realm by -setting the following transient setting: +If the previous resolutions do not solve your issue, enable additional +logging for the SAML realm to troubleshoot further. You can enable debug +logging by configuring the following transient setting: -[source, shell] ------------------------------------------------ +[source, console] +---- PUT /_cluster/settings { "transient": { - "logger.org.elasticsearch.xpack.security.authc.saml": "trace" + "logger.org.elasticsearch.xpack.security.authc.saml": "debug" } } ------------------------------------------------ - +---- Alternatively, you can add the following lines to the end of the `log4j2.properties` configuration file in the `ES_PATH_CONF`: @@ -702,9 +702,12 @@ Alternatively, you can add the following lines to the end of the [source,properties] ---------------- logger.saml.name = org.elasticsearch.xpack.security.authc.saml -logger.saml.level = TRACE +logger.saml.level = DEBUG ---------------- +Refer to <> for more +information. + [[trb-security-internalserver]] === Internal Server Error in Kibana