Version 1.4.0
github-actions
released this
01 Feb 12:34
·
23 commits
to master
since this release
This version adds two features that make Micro a better tool for testing and debugging:
-
Micro now logs basic information about the incoming events (
GOOD
orBAD
). Note that all logs go to STDERR. If you wish, you can disable the new logging by running Micro with-Dorg.slf4j.simpleLogger.log.EventLog=off
. Example:[INFO] EventLog - GOOD id:33137767-c6a1-4819-864c-5ba7f597c3de app_id:test type:unstruct (iglu:com.snowplowanalytics.snowplow/link_click/jsonschema/1-0-1) [INFO] EventLog - GOOD id:acc077a3-6de9-4a0e-8908-90e35944a0b7 app_id:test type:page_view (iglu:com.snowplowanalytics.snowplow/page_view/jsonschema/1-0-0) [INFO] EventLog - GOOD id:5200f375-df5f-4ebb-8ec5-b52d8be5ed90 app_id:test type:page_ping (iglu:com.snowplowanalytics.snowplow/page_ping/jsonschema/1-0-0) [WARN] EventLog - BAD Error while validating the event. [WARN] EventLog - BAD Error while extracting event(s) from collector payload and validating it/them.
-
Independently of logging, Micro now also allows to print the good events to STDOUT in the Snowplow TSV format. You can switch this on with
--output-tsv
. This is useful for piping Micro into other tools, like https://github.com/snowplow/snowbridge.