guardian / mobile-logstash-encoder   1.1.8


Placeholder description: @markrichardsg created this with repo-genesis

Scala versions: 2.13 2.12

Mobile Logstash Encoder

Mobile wishes to capture App, Stack and Stage using the simple-configuration AWS identity detection.

This library provides an encoder extends the LogstashEncoder to set the custom fields.

Add the MobileLogstash to an appender like

   <appender name="LOGFILE" class="ch.qos.logback.core.rolling.RollingFileAppender">    
        <encoder class="">
            <defaultAppName>[INSERT APP NAME]</defaultAppName>
        <file>logs/[INSERT APP NAME].log</file>
        <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
            <fileNamePattern>logs/[INSERT APP NAME].%d{yyyy-MM-dd}.gz</fileNamePattern>

Releasing a new version

This repo uses gha-scala-library-release-workflow to automate publishing releases (both full & preview releases) - see Making a Release.