This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import ch.qos.logback.core.ConsoleAppender | |
| import codes.monkey.logging.BeanStalkPropertyDefiner | |
| import codes.monkey.logging.LoggingTagsPropertyDefiner | |
| import net.logstash.logback.appender.LoggingEventAsyncDisruptorAppender | |
| import net.logstash.logback.stacktrace.ShortenedThrowableConverter | |
| import codes.monkey.logging.TimestampFormatPropertyDefiner.CloudwatchLogstashEncoder | |
| import groovy.json.JsonOutput | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "@timestamp":"2016-07-21T14:00:10.389+1000", | |
| "@version":1, | |
| "message":"Started CloudwatchLoggingApplication in 1.97 seconds (JVM running for 3.463)", | |
| "logger_name":"c.m.l.CloudwatchLoggingApplication", | |
| "thread_name":"main", | |
| "level":"INFO", | |
| "level_value":20000 | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| dependencies { | |
| ext { | |
| logbackVersion = '1.1.6' | |
| slf4jApiVersion = '1.7.15' | |
| logStashLogbackEncoderVersion = '4.7' | |
| } | |
| compile("ch.qos.logback:logback-classic:$logbackVersion") | |
| compile("ch.qos.logback:logback-core:$logbackVersion") | |
| compile("ch.qos.logback:logback-access:$logbackVersion") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| dependencies { | |
| ext { | |
| logbackVersion = '1.1.6' | |
| slf4jApiVersion = '1.7.15' | |
| logStashLogbackEncoderVersion = '4.7' | |
| } | |
| ... | |
| compile("ch.qos.logback:logback-classic:$logbackVersion") | |
| compile("ch.qos.logback:logback-core:$logbackVersion") | |
| compile("ch.qos.logback:logback-access:$logbackVersion") |
NewerOlder