PaperTrails Log - Advanced Logging and Log management (v0.5.0)

app
official
tools

#1

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.5.0 (Now Alpha 2018-11-04)

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

** Warning **
Only use Import Z-Wave Log on Append Logging (Top-Down) and with Geek- Zulu Time.
Will continue working on that later …

Version 0.3.7 - 20180107 Published as Stable!

  • Added Magic!
    • Automatic Adding & Removing Logging to All Flows with a Prefix.
    • Migrating Flows from Simple 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.

// 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: https://forum.athom.com/discussion/3473/app-papertrails-advanced-logging-and-log-management-v0-3-7

For any questions just comment here !


#2

Reserved for future info.


#3

I’m using papertrails for a while now and I’m happy to use.
I only missing one feature: Search function in the log.
Is it possible to add this feature?


#4

Thanks, I have it already some time in mind but first want to finish some other work.
It is on the list and I probably will add it!


#5

F:slight_smile:
Just want to express that I am very happy with “papertrails”

The change to wintertime resulted in some unplanned behaviour of my homey flows.
Papertrails made it really easy to track down the mistakes in my flows. Made some adjustments in the conditions…
Within 2 days my flows are running as desired again.

Thanks! Great app.

(PS:I have papertrails running all the time, so not just for debugging. I have logging for every then and else I have. This makes it really easy to find issues in the flows)


#6

Thanks @FKey and everyone supporting PaperTrails Log
@Canedje still thinking about a search, the start for it is there now with Filtering :wink:

Updated the app and published: (Now Alpha 2018-11-04)

Version 0.5.0

  • add Filter option on Log viewer
  • cleanup some code
  • Remove option to choose not to append!
  • Enter only one 0 in the Log filed 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 a default syslog server.
  • Added option to Import Z-Wave Log.

#7

Sounds good. Thanks :+1:t2:
I will wait for the Betha version. I think a filter will work already


#8

I just installed the newest version.
Filter works very nice. Thanks!
I’m happy