"Fossies" - the Fresh Open Source Software Archive

Member "elasticsearch-6.8.23/config/log4j2.properties" (6 Jan 2022, 13085 Bytes) of package /linux/www/elasticsearch-6.8.23.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 status = error
    2 
    3 # log action execution errors for easier debugging
    4 logger.action.name = org.elasticsearch.action
    5 logger.action.level = debug
    6 
    7 appender.console.type = Console
    8 appender.console.name = console
    9 appender.console.layout.type = PatternLayout
   10 appender.console.layout.pattern = [%d{ISO8601}][%-5p][%-25c{1.}] [%node_name]%marker %m%n
   11 
   12 appender.rolling.type = RollingFile
   13 appender.rolling.name = rolling
   14 appender.rolling.fileName = ${sys:es.logs.base_path}${sys:file.separator}${sys:es.logs.cluster_name}.log
   15 appender.rolling.layout.type = PatternLayout
   16 appender.rolling.layout.pattern = [%d{ISO8601}][%-5p][%-25c{1.}] [%node_name]%marker %.-10000m%n
   17 appender.rolling.filePattern = ${sys:es.logs.base_path}${sys:file.separator}${sys:es.logs.cluster_name}-%d{yyyy-MM-dd}-%i.log.gz
   18 appender.rolling.policies.type = Policies
   19 appender.rolling.policies.time.type = TimeBasedTriggeringPolicy
   20 appender.rolling.policies.time.interval = 1
   21 appender.rolling.policies.time.modulate = true
   22 appender.rolling.policies.size.type = SizeBasedTriggeringPolicy
   23 appender.rolling.policies.size.size = 128MB
   24 appender.rolling.strategy.type = DefaultRolloverStrategy
   25 appender.rolling.strategy.fileIndex = nomax
   26 appender.rolling.strategy.action.type = Delete
   27 appender.rolling.strategy.action.basepath = ${sys:es.logs.base_path}
   28 appender.rolling.strategy.action.condition.type = IfFileName
   29 appender.rolling.strategy.action.condition.glob = ${sys:es.logs.cluster_name}-*
   30 appender.rolling.strategy.action.condition.nested_condition.type = IfAccumulatedFileSize
   31 appender.rolling.strategy.action.condition.nested_condition.exceeds = 2GB
   32 
   33 rootLogger.level = info
   34 rootLogger.appenderRef.console.ref = console
   35 rootLogger.appenderRef.rolling.ref = rolling
   36 
   37 appender.deprecation_rolling.type = RollingFile
   38 appender.deprecation_rolling.name = deprecation_rolling
   39 appender.deprecation_rolling.fileName = ${sys:es.logs.base_path}${sys:file.separator}${sys:es.logs.cluster_name}_deprecation.log
   40 appender.deprecation_rolling.layout.type = PatternLayout
   41 appender.deprecation_rolling.layout.pattern = [%d{ISO8601}][%-5p][%-25c{1.}] [%node_name]%marker %.-10000m%n
   42 appender.deprecation_rolling.filePattern = ${sys:es.logs.base_path}${sys:file.separator}${sys:es.logs.cluster_name}_deprecation-%i.log.gz
   43 appender.deprecation_rolling.policies.type = Policies
   44 appender.deprecation_rolling.policies.size.type = SizeBasedTriggeringPolicy
   45 appender.deprecation_rolling.policies.size.size = 1GB
   46 appender.deprecation_rolling.strategy.type = DefaultRolloverStrategy
   47 appender.deprecation_rolling.strategy.max = 4
   48 
   49 logger.deprecation.name = org.elasticsearch.deprecation
   50 logger.deprecation.level = warn
   51 logger.deprecation.appenderRef.deprecation_rolling.ref = deprecation_rolling
   52 logger.deprecation.additivity = false
   53 
   54 appender.index_search_slowlog_rolling.type = RollingFile
   55 appender.index_search_slowlog_rolling.name = index_search_slowlog_rolling
   56 appender.index_search_slowlog_rolling.fileName = ${sys:es.logs.base_path}${sys:file.separator}${sys:es.logs.cluster_name}_index_search_slowlog.log
   57 appender.index_search_slowlog_rolling.layout.type = PatternLayout
   58 appender.index_search_slowlog_rolling.layout.pattern = [%d{ISO8601}][%-5p][%-25c] [%node_name]%marker %.-10000m%n
   59 appender.index_search_slowlog_rolling.filePattern = ${sys:es.logs.base_path}${sys:file.separator}${sys:es.logs.cluster_name}_index_search_slowlog-%d{yyyy-MM-dd}.log
   60 appender.index_search_slowlog_rolling.policies.type = Policies
   61 appender.index_search_slowlog_rolling.policies.time.type = TimeBasedTriggeringPolicy
   62 appender.index_search_slowlog_rolling.policies.time.interval = 1
   63 appender.index_search_slowlog_rolling.policies.time.modulate = true
   64 
   65 logger.index_search_slowlog_rolling.name = index.search.slowlog
   66 logger.index_search_slowlog_rolling.level = trace
   67 logger.index_search_slowlog_rolling.appenderRef.index_search_slowlog_rolling.ref = index_search_slowlog_rolling
   68 logger.index_search_slowlog_rolling.additivity = false
   69 
   70 appender.index_indexing_slowlog_rolling.type = RollingFile
   71 appender.index_indexing_slowlog_rolling.name = index_indexing_slowlog_rolling
   72 appender.index_indexing_slowlog_rolling.fileName = ${sys:es.logs.base_path}${sys:file.separator}${sys:es.logs.cluster_name}_index_indexing_slowlog.log
   73 appender.index_indexing_slowlog_rolling.layout.type = PatternLayout
   74 appender.index_indexing_slowlog_rolling.layout.pattern = [%d{ISO8601}][%-5p][%-25c] [%node_name]%marker %.-10000m%n
   75 appender.index_indexing_slowlog_rolling.filePattern = ${sys:es.logs.base_path}${sys:file.separator}${sys:es.logs.cluster_name}_index_indexing_slowlog-%d{yyyy-MM-dd}.log
   76 appender.index_indexing_slowlog_rolling.policies.type = Policies
   77 appender.index_indexing_slowlog_rolling.policies.time.type = TimeBasedTriggeringPolicy
   78 appender.index_indexing_slowlog_rolling.policies.time.interval = 1
   79 appender.index_indexing_slowlog_rolling.policies.time.modulate = true
   80 
   81 logger.index_indexing_slowlog.name = index.indexing.slowlog.index
   82 logger.index_indexing_slowlog.level = trace
   83 logger.index_indexing_slowlog.appenderRef.index_indexing_slowlog_rolling.ref = index_indexing_slowlog_rolling
   84 logger.index_indexing_slowlog.additivity = false
   85 
   86 
   87 appender.audit_rolling.type = RollingFile
   88 appender.audit_rolling.name = audit_rolling
   89 appender.audit_rolling.fileName = ${sys:es.logs.base_path}${sys:file.separator}${sys:es.logs.cluster_name}_audit.log
   90 appender.audit_rolling.layout.type = PatternLayout
   91 appender.audit_rolling.layout.pattern = {\
   92                 "@timestamp":"%d{ISO8601}"\
   93                 %varsNotEmpty{, "node.name":"%enc{%map{node.name}}{JSON}"}\
   94                 %varsNotEmpty{, "node.id":"%enc{%map{node.id}}{JSON}"}\
   95                 %varsNotEmpty{, "host.name":"%enc{%map{host.name}}{JSON}"}\
   96                 %varsNotEmpty{, "host.ip":"%enc{%map{host.ip}}{JSON}"}\
   97                 %varsNotEmpty{, "event.type":"%enc{%map{event.type}}{JSON}"}\
   98                 %varsNotEmpty{, "event.action":"%enc{%map{event.action}}{JSON}"}\
   99                 %varsNotEmpty{, "user.name":"%enc{%map{user.name}}{JSON}"}\
  100                 %varsNotEmpty{, "user.run_by.name":"%enc{%map{user.run_by.name}}{JSON}"}\
  101                 %varsNotEmpty{, "user.run_as.name":"%enc{%map{user.run_as.name}}{JSON}"}\
  102                 %varsNotEmpty{, "user.realm":"%enc{%map{user.realm}}{JSON}"}\
  103                 %varsNotEmpty{, "user.run_by.realm":"%enc{%map{user.run_by.realm}}{JSON}"}\
  104                 %varsNotEmpty{, "user.run_as.realm":"%enc{%map{user.run_as.realm}}{JSON}"}\
  105                 %varsNotEmpty{, "user.roles":%map{user.roles}}\
  106                 %varsNotEmpty{, "origin.type":"%enc{%map{origin.type}}{JSON}"}\
  107                 %varsNotEmpty{, "origin.address":"%enc{%map{origin.address}}{JSON}"}\
  108                 %varsNotEmpty{, "realm":"%enc{%map{realm}}{JSON}"}\
  109                 %varsNotEmpty{, "url.path":"%enc{%map{url.path}}{JSON}"}\
  110                 %varsNotEmpty{, "url.query":"%enc{%map{url.query}}{JSON}"}\
  111                 %varsNotEmpty{, "request.method":"%enc{%map{request.method}}{JSON}"}\
  112                 %varsNotEmpty{, "request.body":"%enc{%map{request.body}}{JSON}"}\
  113                 %varsNotEmpty{, "request.id":"%enc{%map{request.id}}{JSON}"}\
  114                 %varsNotEmpty{, "action":"%enc{%map{action}}{JSON}"}\
  115                 %varsNotEmpty{, "request.name":"%enc{%map{request.name}}{JSON}"}\
  116                 %varsNotEmpty{, "indices":%map{indices}}\
  117                 %varsNotEmpty{, "opaque_id":"%enc{%map{opaque_id}}{JSON}"}\
  118                 %varsNotEmpty{, "x_forwarded_for":"%enc{%map{x_forwarded_for}}{JSON}"}\
  119                 %varsNotEmpty{, "transport.profile":"%enc{%map{transport.profile}}{JSON}"}\
  120                 %varsNotEmpty{, "rule":"%enc{%map{rule}}{JSON}"}\
  121                 %varsNotEmpty{, "event.category":"%enc{%map{event.category}}{JSON}"}\
  122                 }%n
  123 # "node.name" node name from the `elasticsearch.yml` settings
  124 # "node.id" node id which should not change between cluster restarts
  125 # "host.name" unresolved hostname of the local node
  126 # "host.ip" the local bound ip (i.e. the ip listening for connections)
  127 # "event.type" a received REST request is translated into one or more transport requests. This indicates which processing layer generated the event "rest" or "transport" (internal)
  128 # "event.action" the name of the audited event, eg. "authentication_failed", "access_granted", "run_as_granted", etc.
  129 # "user.name" the subject name as authenticated by a realm
  130 # "user.run_by.name" the original authenticated subject name that is impersonating another one.
  131 # "user.run_as.name" if this "event.action" is of a run_as type, this is the subject name to be impersonated as.
  132 # "user.realm" the name of the realm that authenticated "user.name"
  133 # "user.run_by.realm" the realm name of the impersonating subject ("user.run_by.name")
  134 # "user.run_as.realm" if this "event.action" is of a run_as type, this is the realm name the impersonated user is looked up from
  135 # "user.roles" the roles array of the user; these are the roles that are granting privileges
  136 # "origin.type" it is "rest" if the event is originating (is in relation to) a REST request; possible other values are "transport" and "ip_filter"
  137 # "origin.address" the remote address and port of the first network hop, i.e. a REST proxy or another cluster node
  138 # "realm" name of a realm that has generated an "authentication_failed" or an "authentication_successful"; the subject is not yet authenticated
  139 # "url.path" the URI component between the port and the query string; it is percent (URL) encoded
  140 # "url.query" the URI component after the path and before the fragment; it is percent (URL) encoded
  141 # "request.method" the method of the HTTP request, i.e. one of GET, POST, PUT, DELETE, OPTIONS, HEAD, PATCH, TRACE, CONNECT
  142 # "request.body" the content of the request body entity, JSON escaped
  143 # "request.id" a synthentic identifier for the incoming request, this is unique per incoming request, and consistent across all audit events generated by that request
  144 # "action" an action is the most granular operation that is authorized and this identifies it in a namespaced way (internal)
  145 # "request.name" if the event is in connection to a transport message this is the name of the request class, similar to how rest requests are identified by the url path (internal)
  146 # "indices" the array of indices that the "action" is acting upon
  147 # "opaque_id" opaque value conveyed by the "X-Opaque-Id" request header
  148 # "x_forwarded_for" the addresses from the "X-Forwarded-For" request header, as a verbatim string value (not an array)
  149 # "transport.profile" name of the transport profile in case this is a "connection_granted" or "connection_denied" event
  150 # "rule" name of the applied rulee if the "origin.type" is "ip_filter"
  151 # "event.category" fixed value "elasticsearch-audit"
  152 
  153 appender.audit_rolling.filePattern = ${sys:es.logs.base_path}${sys:file.separator}${sys:es.logs.cluster_name}_audit-%d{yyyy-MM-dd}.log
  154 appender.audit_rolling.policies.type = Policies
  155 appender.audit_rolling.policies.time.type = TimeBasedTriggeringPolicy
  156 appender.audit_rolling.policies.time.interval = 1
  157 appender.audit_rolling.policies.time.modulate = true
  158 
  159 appender.deprecated_audit_rolling.type = RollingFile
  160 appender.deprecated_audit_rolling.name = deprecated_audit_rolling
  161 appender.deprecated_audit_rolling.fileName = ${sys:es.logs.base_path}${sys:file.separator}${sys:es.logs.cluster_name}_access.log
  162 appender.deprecated_audit_rolling.layout.type = PatternLayout
  163 appender.deprecated_audit_rolling.layout.pattern = [%d{ISO8601}] %m%n
  164 appender.deprecated_audit_rolling.filePattern = ${sys:es.logs.base_path}${sys:file.separator}${sys:es.logs.cluster_name}_access-%d{yyyy-MM-dd}.log
  165 appender.deprecated_audit_rolling.policies.type = Policies
  166 appender.deprecated_audit_rolling.policies.time.type = TimeBasedTriggeringPolicy
  167 appender.deprecated_audit_rolling.policies.time.interval = 1
  168 appender.deprecated_audit_rolling.policies.time.modulate = true
  169 
  170 logger.xpack_security_audit_logfile.name = org.elasticsearch.xpack.security.audit.logfile.LoggingAuditTrail
  171 logger.xpack_security_audit_logfile.level = info
  172 logger.xpack_security_audit_logfile.appenderRef.audit_rolling.ref = audit_rolling
  173 logger.xpack_security_audit_logfile.additivity = false
  174 
  175 logger.xpack_security_audit_deprecated_logfile.name = org.elasticsearch.xpack.security.audit.logfile.DeprecatedLoggingAuditTrail
  176 # set this to "off" instead of "info" to disable the deprecated appender
  177 # in the 6.x releases both the new and the previous appenders are enabled
  178 # for the logfile auditing
  179 logger.xpack_security_audit_deprecated_logfile.level = info
  180 logger.xpack_security_audit_deprecated_logfile.appenderRef.deprecated_audit_rolling.ref = deprecated_audit_rolling
  181 logger.xpack_security_audit_deprecated_logfile.additivity = false
  182 
  183 logger.xmlsig.name = org.apache.xml.security.signature.XMLSignature
  184 logger.xmlsig.level = error
  185 logger.samlxml_decrypt.name = org.opensaml.xmlsec.encryption.support.Decrypter
  186 logger.samlxml_decrypt.level = fatal
  187 logger.saml2_decrypt.name = org.opensaml.saml.saml2.encryption.Decrypter
  188 logger.saml2_decrypt.level = fatal