-
Notifications
You must be signed in to change notification settings - Fork 24.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cluster level log settings can inadvertently enable the deprecated *_access log #47251
Labels
Comments
Pinging @elastic/es-security |
albertzaharovits
added a commit
that referenced
this issue
Nov 15, 2019
This adds a log marker and a marker filter for the audit log. Closes #47251
albertzaharovits
added a commit
that referenced
this issue
Nov 15, 2019
This adds a log marker and a marker filter for the audit log. Closes #47251
albertzaharovits
added a commit
to albertzaharovits/elasticsearch
that referenced
this issue
Nov 15, 2019
This adds a log marker and a marker filter for the audit log. Closes elastic#47251
This was referenced Nov 15, 2019
albertzaharovits
added a commit
that referenced
this issue
Nov 15, 2019
This adds a log marker and a marker filter for the audit log. Closes #47251
albertzaharovits
added a commit
that referenced
this issue
Nov 15, 2019
This adds a log marker and a marker filter for the audit log. Closes #47251
This was referenced Feb 3, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Elasticsearch version:
Version: 6.8.3, Build: default/tar/0c48c0e/2019-08-29T19:05:24.312154Z, JVM: 1.8.0_181
JVM version:
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
OS version:
18.7.0 Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64 x86_64
Description of the problem including expected versus actual behavior:
Adjusting the
_root
logger level via a cluster setting API call can enable the deprecated*_access.log
, even iflogger.xpack_security_audit_deprecated_logfile.level = off
if defined in thelog4j2.properties
file. It remains enabled even if younull
out the cluster setting.Steps to reproduce:
elasticsearch.yml
+ disable the deprecated*_access.log
in thelog4j2.properties
file.debug
logging via a cluster settingObserve the
path.logs
directory. The deprecated*_access.log
is now being written to.Clear your debug logging via a
null
*_access.log
will continue being written to until the node is restarted.The text was updated successfully, but these errors were encountered: