8000 Tags · remiges-tech/logharbour · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: remiges-tech/logharbour

Tags

v0.21.0

Toggle v0.21.0's commit message
Add a check to see if the err argument is nil when its passed to Error()

Add a check to see if the err argument is nil before attempting to call .Error() on it. This avoids panic.

v0.20.0

Toggle v0.20.0's commit message
Revert "Refactor `ChangeInfo` to value types"

This reverts commit d875a13.

v0.19.0

Toggle v0.19.0's commit message
Refactor `ChangeInfo` to value types

Refactored `ChangeInfo` to use value types instead of pointers.

v0.18.0

Toggle v0.18.0's commit message
Add test for Logf

v0.17.0

Toggle v0.17.0's commit message
Fix a bug in converting change data values to strings before logging

v0.16.0

Toggle v0.16.0's commit message
refactor: changes regarding indexing log entries in elasticsearch

Changes in logConsumer:
- Extract log ID from message and use as document id
- Skip messages with missing or invalid 'id' field
- Update Kafka and Zookeeper images in docker-compose.yaml
- Consume Kafka messages from oldest offset instead of newest

Logharbour package:
- Refactor LogEntry to use a structured LogData field

Introduced a new LogData struct as the type for Data field in LogEntry. Now change, activity and debug log data is stored in separate fields in LogData. This makes managing Elasticsearch index simple. Exposed methods for logging i.e. LogDataChange, LogActivity and LogDebug internally process data passed to them to create correct LogData value.

v0.15.0

Toggle v0.15.0's commit message
Avoid marshalling strings in convertToString for data field

JSON marshalling is skipped for simple string values to avoid unnecessary double encoding and improve performance. Strings are returned directly, while other types are still marshalled as before.

v0.14.0

Toggle v0.14.0's commit message
Omit empty fields in LogEntry JSON

The LogEntry struct fields are now tagged to be omitted when
empty.

This reduces the size of log and reduces noise while reading them.

v0.13.0

Toggle v0.13.0's commit message
Refactor ChangeDetail to store values as strings refs #18072

v0.12.0

Toggle v0.12.0's commit message
Refactoring some names

0