[naviserver-devel] ns_log output garbled on Windows

2019-01-28 Thread Andrew Piskorski
On Windows, ns_log output is garbled. Below is some of the output from running "nsd.exe -f" in a Windows Command Prompt window. The 4th printed field, immediately after the severity, always has some garbled junk, which is then followed by readable text. This happens regardless of what NaviServer

Re: [naviserver-devel] Using tcllib ::try

2019-01-28 Thread David Osborne
Thanks Gustaf, That got me past the immediate problem - but I'm now seeing some further issues which I can't fully explain. 1. Tcl8.5 only - After clock scan : invalid command name "::tcl::clock::scan" 2. Tcl8.5 & Tcl8.6 After ::try .. on error : can't read "magicCodes": no such variable The err

Re: [naviserver-devel] ns_log output garbled on Windows

2019-01-28 Thread Gustaf Neumann
On 28.01.19 16:51, Andrew Piskorski wrote: Btw, the log output differs between Windows and Linux in other minor but suspicious ways! Linux says "Notice:" as I expect, while Windows instead says "[Notice]" for the severity. The 3rd Linux field, "[-main-]", is completely missing on Windows! Like