Skip to content

Commit

Permalink
Revert to using env var to enable
Browse files Browse the repository at this point in the history
  • Loading branch information
hardillb committed Feb 6, 2024
1 parent ee6d739 commit 9078fe9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion lib/launcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ class Launcher {
this.settings.licenseType = process.env.FORGE_LICENSE_TYPE
this.settings.broker = this.options.broker
this.settings.launcherVersion = this.options?.versions?.launcher || ''
this.logBuffer.passThroughLogging = !!this.settings.settings.passThroughLogging

// setup nodeDir to include the path to additional nodes and plugins
const nodesDir = []
Expand Down
2 changes: 1 addition & 1 deletion lib/logBuffer.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class LogBuffer {
logEntry.ts = logEntry.ts + ('' + this.lastLogTimestampCount).padStart(4, '0')
if (logEntry.level === 'system') {
console.log(logEntry.msg)
} else if (this.passThroughLogging) {
} else if (process.env.FORGE_LOG_PASSTHROUGH) {
console.log(JSON.stringify(logEntry))
}
if (!logEntry.src) {
Expand Down

0 comments on commit 9078fe9

Please sign in to comment.