PaperTrails Log
Advanced Logging and Log management
Today I published my App for Logging and Log management.
This app makes it possible to add time based logging to your flow’s and send logs to a standard SysLog server and some log management to the App.
It has an option to limit the size of the log and some action cards to clean or truncate the ever growing log.
For example with the e-mail sender app it is possible to send emails with the complete log of the truncated part for archiving in email.
The following Triggers / Conditions / Actions (T/C/A):
-
T: PaperTrails at Max. configured Lines
-
T: PaperTrails greater than ## Lines
-
T: The log is Truncated
-
C: Add to the Log (Condition is always True)
-
A: Clear the Log => T: The log is Cleared
-
A: Trigger a Flow => T: This Flow is Tiggered
-
A: Remove oldest % of Log => T: The log is Truncated
-
A: Remove log older than # Hours => T: The log is Truncated
Find it in the App Store:
and read some examples on the GitHub Wiki
Let me know if you like it or have any requests!
Updated the app and published:
Version 0.6.3
- Various improvements
Version 0.6.0
- several updates to Fix on Homey firmware v2.0
- Removed option to import Z-wave logs (Not possible anymore on Homey 2.0)
- Hide Download Button on Mobile Interface (pls Go to Developers site)
- Temporary hide Maintenance panel (as it doesn’t work in 2.0)
- Started migration to i18n and translating from en to nl and de
Version 0.5.0 and previous versions
- add Filter option on Log viewer
- cleanup some code
- Remove option to choose not to append!
- Enter only one 0 to ignore or stop logging (after adding Logging to all flows).
- fixed someting with the Z-Wave import.
- Changed separator between time and log to
- Added an App name, Prefix first word with $ to have a App Name
Time - AppName - Message - Added option to send to syslog.
- Added option to Import Z-Wave Log.
- Added api /log to Log something from fe HomeyScript.
- Converted Settings to two Objects & some Cleanup.
- Fixed “Report an issue” Link to Own GitHub.
** Warning **
Only use Import Z-Wave Log on Append Logging (Top-Down) and with Geek- Zulu Time.
Will continue working on that later …
Moved the following to a Web App Dashboard Behind the Community HomeyBackup Web App: https://homeybackup.web.app/login/ (as it is not possible from Homey V2 anymore)
- Added Magic!
-
- Automatic Adding & Removing Logging to All Flows with a Prefix.
-
- Migrating Flows from Simple Log.
// Trigger Logging to PaperTrails from HomeyScript
let HomeyScript = await Homey.apps.getApp({ id: ‘nu.dijker.papertrails’ } );
HomeyScript.apiPost(‘log’, { log:‘Hello World of PaperTrails! Here HomeyScript!’} );
For the old Forum discussion see here: [App] PaperTrails - Advanced Logging and Log management (v0.3.7) — Athom Forum Archive
For any questions just comment here !