Skip to content

Commit

Permalink
🔖 Release v0.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBakerEffendi committed Feb 28, 2021
1 parent ce27039 commit 9fb5ebb
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [0.2.5] - 2021-02-28

### Changed
- Log4j-Core is now only added as a `testImplementation` since this is used as a library and
not an application
- `ExtractorConst::getPlumeVersion` now used to get package version
- `VERSION.md` is now where the build obtains version details

## [0.2.4] - 2021-02-26

### Added
Expand Down
2 changes: 1 addition & 1 deletion plume/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ dependencies {
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion"

// Logging
implementation "org.apache.logging.log4j:log4j-core:$log4jVersion"
implementation "org.apache.logging.log4j:log4j-slf4j-impl:$log4jVersion"
testImplementation "org.apache.logging.log4j:log4j-core:$log4jVersion"

// Core dependencies
implementation "org.apache.tinkerpop:gremlin-core:$gremlinVersion"
Expand Down
30 changes: 30 additions & 0 deletions testing/src/test/resources/log4j2.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
status=error
name=PropertiesConfig
#Make sure to change log file path as per your need
property.filename=${sys:java.io.tmpdir}/plume/plume-scalatest.log
filters=threshold
filter.threshold.type=ThresholdFilter
filter.threshold.level=debug
appenders=plume
appender.plume.type=RollingFile
appender.plume.name=RollingFile
appender.plume.fileName=${filename}
appender.plume.filePattern=${sys:java.io.tmpdir}/plume/debug-backup-%d{MM-dd-yy-HH-mm-ss}-%i.log.gz
appender.plume.layout.type=PatternLayout
appender.plume.layout.pattern=%d{HH:mm:ss} %-5p %c{1}:%L - %m%n
appender.plume.policies.type=Policies
appender.plume.policies.time.type=TimeBasedTriggeringPolicy
appender.plume.policies.time.interval=1
appender.plume.policies.time.modulate=true
appender.plume.policies.size.type=SizeBasedTriggeringPolicy
appender.plume.policies.size.size=10MB
appender.plume.strategy.type=DefaultRolloverStrategy
appender.plume.strategy.max=20
loggers=plume,tigergraph
#Make sure to change the package structure as per your application
logger.plume.name=io.github.plume
logger.plume.level=debug
logger.plume.additivity=false
logger.plume.appenderRef.rolling.ref=RollingFile
logger.tigergraph.name=com.tigergraph
logger.tigergraph.level=fatal

0 comments on commit 9fb5ebb

Please sign in to comment.