Support hostnameForLogging too, more out of date refences

This commit is contained in:
Matt Godbolt
2025-05-12 12:59:57 -05:00
parent 703b13ae01
commit 1dab667564
2 changed files with 2 additions and 2 deletions

2
app.ts
View File

@@ -146,7 +146,7 @@ program
.option('--ensure-no-id-clash', "Don't run if compilers have clashing ids")
.option('--logHost, --log-host <hostname>', 'Hostname for remote logging')
.option('--logPort, --log-port <port>', 'Port for remote logging', parseNumberForOptions)
.option('--hostname-for-logging <hostname>', 'Hostname to use in logs')
.option('--hostnameForLogging, --hostname-for-logging <hostname>', 'Hostname to use in logs')
.option('--suppressConsoleLog, --suppress-console-log', 'Disable console logging')
.option('--metricsPort, --metrics-port <port>', 'Port to serve metrics on', parseNumberForOptions)
.option('--loki <url>', 'URL for Loki logging')

View File

@@ -30,7 +30,7 @@ If needed, you can now restart the currently running instances with `ce --env be
Once this is finished, the `/beta` endpoint should be ready for testing.
- The first issue you might find is that the beta instance does not boot. This might be caused by the
`--ensureNoIdClash` flag shutting the app down if it detects one or more pairs of compilers sharing the same id even
`--ensure-no-id-clash` flag shutting the app down if it detects one or more pairs of compilers sharing the same id even
if they belong to different languages. An error should be logged with the culprits for easy debugging.
## Basic general site functionality