vbPhil Posted March 6, 2022 Posted March 6, 2022 (edited) Checked the Admin Console(LAN) Log file this morning to see if my motion sensor triggered. It's getting quite large, 25MB, 528,801 lines. Does it really need to capture all of that? The WirelessTag node Server is quite busy. Anyway, it seems that it has changed from a Line Feed terminating each line to now Line Feed, Carriage Return, Tab, Line Feed. It's not only the WirelessTag entries but all the log entries have the LF CR Tab LF termination. Here's a snippet from the file using NotePad++ editor. You can see when it changed on 2022/03/01 07:35:08. I must have performed a system upgrade/update then. My System configuration: Version 3.0.42 Status: Connected Frontend Version: 3.0.42 ISY Version: 5.3.0 (actually 5.4.0, PG3 Dashboard shows the wrong version) Uptime: 3 Day(s) 21 Hour(s) 9 Minute(s) 14 Second(s) (c) 2022 UDI Running on Polisy Documentation Edited March 6, 2022 by vbphil ISY version actually 5.4.0
Bumbershoot Posted March 6, 2022 Posted March 6, 2022 (edited) CR + LF is known as DOS format for text files, whereas a single LF is known as UNIX format. DOS format makes the files compatible with Windows text editors. I assume UDI did this deliberately, likely due to the error log formatting complaints that were addressed with ISY version 5.40, though I haven't followed the issue. In many *nix distributions there are included utilities to convert files: 'unix2dos' and 'dos2unix', neither of which are included in the POLISY FreeBSD distribution. https://www.freebsd.org/cgi/man.cgi?query=dos2unix&manpath=CentOS+7.1 Edited March 6, 2022 by Bumbershoot 1
vbPhil Posted March 6, 2022 Author Posted March 6, 2022 7 minutes ago, Bumbershoot said: CR + LF is known as DOS format for text files, whereas a single LF is known as UNIX format. DOS format makes the files compatible with Windows text editors. I assume UDI did this deliberately. In many *nix distributions there are included utilities to convert files: 'unix2dos' and 'dos2unix', neither of which are included in the POLISY FreeBSD distribution. Yes understood. But, when the Admin Console opens the file in Excel it should filter out the extra lines. Even so that doesn't explain the purpose of LF CR Tab LF.
Bumbershoot Posted March 6, 2022 Posted March 6, 2022 1 hour ago, vbphil said: Even so that doesn't explain the purpose of LF CR Tab LF. Maybe I misunderstand, but I'd think that tab separated values in the file might be deliberate as well. https://en.wikipedia.org/wiki/Tab-separated_values
vbPhil Posted March 6, 2022 Author Posted March 6, 2022 27 minutes ago, Bumbershoot said: Maybe I misunderstand, but I'd think that tab separated values in the file might be deliberate as well. https://en.wikipedia.org/wiki/Tab-separated_values
Bumbershoot Posted March 6, 2022 Posted March 6, 2022 Is see now. Maybe there's still a bit of fixin' to do on the files?
Michel Kohanim Posted March 7, 2022 Posted March 7, 2022 We'll take a look. With kind regards, Michel
Recommended Posts