From 05804206ee0a729aa4d54c0219ec90cecdf4f93d Mon Sep 17 00:00:00 2001 From: SemperFu Date: Sun, 18 Nov 2018 01:40:08 -0500 Subject: [PATCH 1/5] Windows logging hint --- misc/config_template.in.hjson | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/misc/config_template.in.hjson b/misc/config_template.in.hjson index 3acb0823..48a4a8c4 100644 --- a/misc/config_template.in.hjson +++ b/misc/config_template.in.hjson @@ -66,7 +66,8 @@ // See https://github.com/trentm/node-bunyan#streams // // Remember you can pipe logs through Bunyan to pretty-print: - // tail -F ./logs/enigma-bbs.log | bunyan + // Linux : tail -F ./logs/enigma-bbs.log | bunyan + // Windows : "Get-Content .\enigma-bbs.log | bunyan.cmd" // // (npm install -g bunyan to get the binary) // @@ -384,4 +385,4 @@ loginHistoryMax: -1 } } -} \ No newline at end of file +} From f567ef645218e922308ca13ace107e16027906a1 Mon Sep 17 00:00:00 2001 From: SemperFu Date: Sun, 18 Nov 2018 01:41:06 -0500 Subject: [PATCH 2/5] Update config_template.in.hjson --- misc/config_template.in.hjson | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/config_template.in.hjson b/misc/config_template.in.hjson index 48a4a8c4..9facd9e3 100644 --- a/misc/config_template.in.hjson +++ b/misc/config_template.in.hjson @@ -67,7 +67,7 @@ // // Remember you can pipe logs through Bunyan to pretty-print: // Linux : tail -F ./logs/enigma-bbs.log | bunyan - // Windows : "Get-Content .\enigma-bbs.log | bunyan.cmd" + // Windows : Get-Content .\enigma-bbs.log | bunyan.cmd // // (npm install -g bunyan to get the binary) // From 7cd0b3b393666120f49391f92287b029c59dc8f1 Mon Sep 17 00:00:00 2001 From: SemperFu Date: Sun, 18 Nov 2018 14:06:46 -0500 Subject: [PATCH 3/5] Update config_template.in.hjson Changed to PowerShell. Added -F equivalent (-wait) and Tail --- misc/config_template.in.hjson | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/config_template.in.hjson b/misc/config_template.in.hjson index 9facd9e3..cde8284b 100644 --- a/misc/config_template.in.hjson +++ b/misc/config_template.in.hjson @@ -66,8 +66,8 @@ // See https://github.com/trentm/node-bunyan#streams // // Remember you can pipe logs through Bunyan to pretty-print: - // Linux : tail -F ./logs/enigma-bbs.log | bunyan - // Windows : Get-Content .\enigma-bbs.log | bunyan.cmd + // Linux : tail -F ./logs/enigma-bbs.log | bunyan + // Powershell : Get-Content .\enigma-bbs.log -Wait -Tail 15 | bunyan.cmd // // (npm install -g bunyan to get the binary) // From 7410862f5707350d45ec783ef7f62e694c220532 Mon Sep 17 00:00:00 2001 From: SemperFu Date: Sun, 18 Nov 2018 14:10:11 -0500 Subject: [PATCH 4/5] Update config_template.in.hjson Cap S --- misc/config_template.in.hjson | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/config_template.in.hjson b/misc/config_template.in.hjson index cde8284b..0c0e40c1 100644 --- a/misc/config_template.in.hjson +++ b/misc/config_template.in.hjson @@ -67,7 +67,7 @@ // // Remember you can pipe logs through Bunyan to pretty-print: // Linux : tail -F ./logs/enigma-bbs.log | bunyan - // Powershell : Get-Content .\enigma-bbs.log -Wait -Tail 15 | bunyan.cmd + // PowerShell : Get-Content .\enigma-bbs.log -Wait -Tail 15 | bunyan.cmd // // (npm install -g bunyan to get the binary) // From 5f4e129369c25016f659526ff0ac473c1410b6a0 Mon Sep 17 00:00:00 2001 From: SemperFu Date: Sun, 18 Nov 2018 14:17:42 -0500 Subject: [PATCH 5/5] Remove -Wait -Wait doesn't work. It sits there waiting for completion before forwarding. --- misc/config_template.in.hjson | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/config_template.in.hjson b/misc/config_template.in.hjson index 0c0e40c1..ba3e8937 100644 --- a/misc/config_template.in.hjson +++ b/misc/config_template.in.hjson @@ -67,7 +67,7 @@ // // Remember you can pipe logs through Bunyan to pretty-print: // Linux : tail -F ./logs/enigma-bbs.log | bunyan - // PowerShell : Get-Content .\enigma-bbs.log -Wait -Tail 15 | bunyan.cmd + // PowerShell : Get-Content .\enigma-bbs.log -Tail 15 | bunyan.cmd // // (npm install -g bunyan to get the binary) //