Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

IoP Admin Console Log File CR LF

Featured Replies

Posted

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

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

  • Author
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.

Is see now.  Maybe there's still a bit of fixin' to do on the files?

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.