Open mattgodbolt opened 1 year ago
Re 'not prod', I don't think that's possible
Re address, have tried to rename the "computername", but that requires a reboot, so that's not very useful. If we can somehow set a custom hostname for papertrail, then we can do it, because we do have the information here https://github.com/compiler-explorer/infra/blob/main/init/start.ps1#L14
Looks like you can customize the hostname https://www.npmjs.com/package/winston-papertrail-transport Will see if we can arrange that with a setting
the papertrail hostname for win is now in line with the rest of our instances
Some commentary on windows papertrail logging:
Mar 18 20:36:13Z EC2AMAZ-AMNTGCN amazonwin.winprod info: Listening on http://localhost:10240/
amazonwin.winprod
- compared to justamazon
for Linux. Would prefer eitheramazon.win
oramazonwin
but notprod
at all (that's the default) and notwin
in both (in just one, ideally)EC2AMAZ-AMNTGCN
so it's impossible to click it in papertrail and look at just that machine's activity. Having a unique name/IP would be ideal so we can see events happening on a single instance.