This is an automated email from the ASF dual-hosted git repository.
isudana pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/synapse-go.git
from 8f0015a Merge pull request #2 from GDLMadushanka/initial
add d301005 Added sample log configuration toml file.
add aeec3f4 Makefile: Create conf/ directory for configuration files.
This directory will house all configuration files, including log configurations.
add 4cc5ce7 config: Implement dynamic configuration loading and update
for logger settings.
add 4e4181a Implement configurable and dynamic logging with level
management.
add ea35287 Added logs for mediation, synapse and deployers packages
new f7100a0 Merge pull request #4 from ThisaraWeerakoon/add-log-and-config
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
Makefile | 56 ++---
cmd/conf/LoggerConfig.toml | 10 +
go.mod | 13 ++
go.sum | 20 ++
internal/app/adapters/mediation/mediation.go | 21 +-
internal/app/synapse/synapse.go | 23 +-
internal/pkg/config/config.go | 147 +++++++++++++
internal/pkg/core/artifacts/artifact.go | 30 +--
.../{artifacts/endpoint.go => common/types.go} | 22 +-
internal/pkg/core/deployers/deployers.go | 50 +++--
internal/pkg/loggerfactory/loggerfactory.go | 234 +++++++++++++++++++++
11 files changed, 547 insertions(+), 79 deletions(-)
create mode 100644 cmd/conf/LoggerConfig.toml
create mode 100644 internal/pkg/config/config.go
copy internal/pkg/core/{artifacts/endpoint.go => common/types.go} (62%)
create mode 100644 internal/pkg/loggerfactory/loggerfactory.go