Skip to content

Commit

Permalink
Revert #5175
Browse files Browse the repository at this point in the history
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
  • Loading branch information
ArthurSens committed Dec 2, 2021
1 parent e622491 commit e4148c0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions chart/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ env:
value: {{ template "gitpod.installation.shortname" . }}
- name: LOG_LEVEL
value: {{ template "gitpod.loglevel" . }}
- name: VERSION
value: "{{ $gp.version }}"
{{- end -}}

{{- define "gitpod.loglevel" -}}
Expand Down
2 changes: 1 addition & 1 deletion components/ee/db-sync/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { log, LogrusLogLevel } from '@gitpod/gitpod-protocol/lib/util/logging';
import { ICommand } from "./commands";
import { Container } from "inversify";
import { productionContainerModule } from "./container-module";
log.enableJSONLogging('db-sync', undefined, LogrusLogLevel.getFromEnv());
log.enableJSONLogging('db-sync', process.env.VERSION, LogrusLogLevel.getFromEnv());

const parser = new ArgumentParser({
add_help: true,
Expand Down
2 changes: 1 addition & 1 deletion components/ee/payment-endpoint/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { productionContainerModule } from './container-module';
import { log, LogrusLogLevel } from '@gitpod/gitpod-protocol/lib/util/logging';
import { dbContainerModule } from '@gitpod/gitpod-db/lib/container-module';

log.enableJSONLogging('payment-endpoint', undefined, LogrusLogLevel.getFromEnv());
log.enableJSONLogging('payment-endpoint', process.env.VERSION, LogrusLogLevel.getFromEnv());

const init = async () => {
const container = new Container();
Expand Down
2 changes: 1 addition & 1 deletion components/ws-manager-bridge/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { ClusterServiceServer } from './cluster-service-server';
import { BridgeController } from './bridge-controller';
import { MetaInstanceController } from './meta-instance-controller';

log.enableJSONLogging('ws-manager-bridge', undefined, LogrusLogLevel.getFromEnv());
log.enableJSONLogging('ws-manager-bridge', process.env.VERSION, LogrusLogLevel.getFromEnv());

export const start = async (container: Container) => {
try {
Expand Down

0 comments on commit e4148c0

Please sign in to comment.