summaryrefslogtreecommitdiff
path: root/0001-apps-hostmetrics.patch
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2022-07-14 00:33:31 +0700
committerShulhan <ms@kilabit.info>2022-07-14 00:33:31 +0700
commit2770941a0bdf96b3c71bd9817c8dc10801bc6784 (patch)
tree728b7d5852781c4d319ff8a8a5827a12f813bc7c /0001-apps-hostmetrics.patch
parent7e34076620d72f28f5fddc7267c7cb42471d453b (diff)
downloadgoogle-cloud-ops-agent-git-2770941a0bdf96b3c71bd9817c8dc10801bc6784.tar.xz
all: remove the patch on setting service loglevel
Since the issue regarding this patch [1] has been fixed, we did not need it anymore. [1] https://github.com/GoogleCloudPlatform/ops-agent/issues/249#issuecomment-1075184604
Diffstat (limited to '0001-apps-hostmetrics.patch')
-rw-r--r--0001-apps-hostmetrics.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/0001-apps-hostmetrics.patch b/0001-apps-hostmetrics.patch
deleted file mode 100644
index 1414457..0000000
--- a/0001-apps-hostmetrics.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff --git a/confgenerator/confgenerator.go b/confgenerator/confgenerator.go
-index 280bce24..f8cf09ee 100644
---- a/confgenerator/confgenerator.go
-+++ b/confgenerator/confgenerator.go
-@@ -57,7 +57,7 @@ func (uc *UnifiedConfig) GenerateOtelConfig(hostInfo *host.InfoStat) (string, er
- }.LoggingSubmodulePipeline()
-
- if uc.Metrics.Service.LogLevel == "" {
-- uc.Metrics.Service.LogLevel = "info"
-+ uc.Metrics.Service.LogLevel = "error"
- }
- otelConfig, err := otel.ModularConfig{
- LogLevel: uc.Metrics.Service.LogLevel,
-@@ -137,7 +137,7 @@ func (uc *UnifiedConfig) GenerateFluentBitConfigs(logsDir string, stateDir strin
- func (l *Logging) generateFluentbitComponents(userAgent string, hostInfo *host.InfoStat) ([]fluentbit.Component, error) {
- var out []fluentbit.Component
- if l.Service.LogLevel == "" {
-- l.Service.LogLevel = "info"
-+ l.Service.LogLevel = "error"
- }
- service := fluentbit.Service{LogLevel: l.Service.LogLevel}
- out = append(out, service.Component())
-diff --git a/submodules/fluent-bit b/submodules/fluent-bit
---- a/submodules/fluent-bit
-+++ b/submodules/fluent-bit
-@@ -1 +1 @@
--Subproject commit 9c2868fc841e1f0d9e0fd96a4bd8da164741906c
-+Subproject commit 9c2868fc841e1f0d9e0fd96a4bd8da164741906c-dirty