Permalink
Browse files

Modifica conf logback

  • Loading branch information...
fpaparoni committed Feb 28, 2017
1 parent 59fb392 commit 9e50afd404324515efea7dab7be017f0a3d84c5f
@@ -17,7 +17,7 @@
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
@@ -1,4 +1,4 @@
activeProfiles=
activeProfiles=logback
eclipse.preferences.version=1
resolveWorkspaceProjects=true
version=1
@@ -11,10 +11,27 @@
<MaxFileSize>1MB</MaxFileSize>
</triggeringPolicy>
</appender>
<appender name="STASH" class="net.logstash.logback.appender.LogstashTcpSocketAppender">
<destination>localhost:3456</destination>
<encoder class="net.logstash.logback.encoder.LoggingEventCompositeJsonEncoder">
<providers>
<mdc/>
<context/>
<logLevel/>
<loggerName/>
<threadName/>
<message/>
<logstashMarkers/>
<arguments/>
</providers>
</encoder>
</appender>
<logger name="jsonLogger" additivity="false" level="DEBUG">
<appender-ref ref="jsonAppender"/>
<appender-ref ref="STASH"/>
</logger>
<root level="INFO">
<appender-ref ref="jsonAppender"/>
<appender-ref ref="STASH"/>
</root>
</configuration>

0 comments on commit 9e50afd

Please sign in to comment.