Use h: as short form of host in log lines

Before the rename from hosts were called slave which is why s: made
sense. Use h: instead.
This commit is contained in:
Hornwitser committed 2024-01-24 03:43:21 +01:00
1 parent a1109b9354
commit 38dcff2225
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -73,7 +73,7 @@ export class WebConsoleFormat {
transform(info: any, _options: object) {
let src = " ";
if (info.host_id !== undefined) {
src += `s:${info.host_name} - `;
src += `h:${info.host_name} - `;
}
if (info.instance_id !== undefined) {
src += `i:${info.instance_name}`;
+1 -1
View File
@@ -163,7 +163,7 @@ export class TerminalFormat {
src += `i:${info.instance_name} `;
} else if (info.host_name) {
src += `s:${info.host_name} `;
src += `h:${info.host_name} `;
}
if (info.plugin) {
src += `${info.plugin}: `;