File tree 2 files changed +4
-3
lines changed 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -67,12 +67,14 @@ export class GithubApp {
67
67
@inject ( PrebuildStatusMaintainer ) protected readonly statusMaintainer : PrebuildStatusMaintainer ,
68
68
) {
69
69
if ( config . githubApp ?. enabled ) {
70
+ const logLevel = LogrusLogLevel . getFromEnv ( ) ?? "info" ;
71
+
70
72
this . server = new Server ( {
71
73
Probot : Probot . defaults ( {
72
74
appId : config . githubApp . appId ,
73
75
privateKey : GithubApp . loadPrivateKey ( config . githubApp . certPath ) ,
74
76
secret : config . githubApp . webhookSecret ,
75
- logLevel : GithubApp . mapToGitHubLogLevel ( config . logLevel ) ,
77
+ logLevel : GithubApp . mapToGitHubLogLevel ( logLevel ) ,
76
78
baseUrl : config . githubApp . baseUrl ,
77
79
} ) ,
78
80
} ) ;
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import { CodeSyncConfig } from "./code-sync/code-sync-service";
14
14
import { ChargebeeProviderOptions , readOptionsFromFile } from "@gitpod/gitpod-payment-endpoint/lib/chargebee" ;
15
15
import * as fs from "fs" ;
16
16
import * as yaml from "js-yaml" ;
17
- import { log , LogrusLogLevel } from "@gitpod/gitpod-protocol/lib/util/logging" ;
17
+ import { log } from "@gitpod/gitpod-protocol/lib/util/logging" ;
18
18
import { filePathTelepresenceAware } from "@gitpod/gitpod-protocol/lib/env" ;
19
19
20
20
export const Config = Symbol ( "Config" ) ;
@@ -52,7 +52,6 @@ export interface ConfigSerialized {
52
52
installationShortname : string ;
53
53
devBranch ?: string ;
54
54
insecureNoDomain : boolean ;
55
- logLevel : LogrusLogLevel ;
56
55
57
56
// Use one or other - licenseFile reads from a file and populates license
58
57
license ?: string ;
You can’t perform that action at this time.
0 commit comments