Jump to content

IoP Admin Console Log File CR LF


vbPhil

Recommended Posts

Posted (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.

2022-03-06_09-10-46.jpg.aa1a09964ae90c7fb9e9c2bca919cba6.jpg

 

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 by vbphil
ISY version actually 5.4.0
Posted (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 by Bumbershoot
  • Like 1
Posted
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.

Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

  • Forum Statistics

    • Total Topics
      37k
    • Total Posts
      371.4k
×
×
  • Create New...