TimeZone for logging


(IronMike) #1

How do I change logging timestamps to EST.

appender:

console:

type: console

layout:

  type: consolePattern

  conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"

file:

type: dailyRollingFile

file: ${path.logs}/${cluster.name}.log

datePattern: "'.'yyyy-MM-dd"

layout:

  type: pattern

  conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"

index_search_slow_log_file:

type: dailyRollingFile

file: ${path.logs}/${cluster.name}_index_search_slowlog.log

datePattern: "'.'yyyy-MM-dd"

layout:

  type: pattern

  conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"

index_indexing_slow_log_file:

type: dailyRollingFile

file: ${path.logs}/${cluster.name}_index_indexing_slowlog.log

datePattern: "'.'yyyy-MM-dd"

layout:

  type: pattern

  conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/89bbc204-6b2d-4a7e-b90a-4eecf4c4e5a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #2