# \[App\]\[Pro\] PaperTrails Log - Advanced Logging and SysLog

**URL:** <https://community.homey.app/t/app-pro-papertrails-log-advanced-logging-and-syslog/40>\
**Category:** Apps\
**Tags:** app, official, tools\
**Created:** [August 14, 2018, 9:50pm UTC](https://community.homey.app/t/app-pro-papertrails-log-advanced-logging-and-syslog/40 "2018-08-14T21:50:57Z")\
**Posts on this page:** 20\
**Page:** 4

<div class="post-metadata">

**Author:** ![Henk\_Renting](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_renting/32/87634_2.png) [@Henk\_Renting](https://community.homey.app/u/Henk_Renting)\
**Post date:** [January 4, 2021, 1:03pm UTC](https://community.homey.app/t/app-pro-papertrails-log-advanced-logging-and-syslog/40/64 "2021-01-04T13:03:15Z")

</div>

> [@JeeHaa](#):
>
> Unfortunately the “Magic” setting doesn’t work any more since FW 2.

I understand from

> [@\[App\]\[Pro\] PaperTrails Log - Advanced Logging and SysLog](https://community.homey.app/t/papertrails-log-advanced-logging-and-log-management-v0-6-3/40):
>
> [PaperTrails Log App for Homey | Homey](https://apps.athom.com/app/nu.dijker.papertrails)Advanced 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 / …

that the magic still can be performed from:  
[https://homeybackup.web.app/login/](https://homeybackup.web.app/login/)

That’s what I was referring to…

---

<div class="post-metadata">

**Author:** ![JeeHaa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeehaa/32/29849_2.png) [@JeeHaa](https://community.homey.app/u/JeeHaa)\
**Post date:** [January 4, 2021, 2:01pm UTC](https://community.homey.app/t/app-pro-papertrails-log-advanced-logging-and-syslog/40/65 "2021-01-04T14:01:40Z")

</div>

I noticed a remark by @Dijker in the Dutch forum indicating it was not supported any more:

> [@Alle items, via Homey verstuurd/ontvangen, bekijken](https://community.homey.app/t/alle-items-via-homey-verstuurd-ontvangen-bekijken/40042/11):
>
> Het Magic deel in de app werkt al niet meer sinds 2.0 @Rocodamelshekima

But we’ll leave it up to him to give a conclusive answer here. 🙂

---

<div class="post-metadata">

**Author:** ![Henk\_Renting](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_renting/32/87634_2.png) [@Henk\_Renting](https://community.homey.app/u/Henk_Renting)\
**Post date:** [January 4, 2021, 2:04pm UTC](https://community.homey.app/t/app-pro-papertrails-log-advanced-logging-and-syslog/40/66 "2021-01-04T14:04:34Z")

</div>

Read that too, but he says the magic part doesn’t work in the app anymore and refers us to the website.

@Dijker:  
Can you help us out please? And should it work with flows in Homey v5 too? 🙂

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [January 18, 2021, 9:39pm UTC](https://community.homey.app/t/app-pro-papertrails-log-advanced-logging-and-syslog/40/67 "2021-01-18T21:39:51Z")

</div>

@Henk_Renting@Bob_Oosterhof

As mentioned before,

> [@Dijker](#):
>
> Moved the following to a Web App Dashboard Behind the Community HomeyBackup Web App: [https://homeybackup.web.app/login/](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.

Tested it last week with Homey v5 and that still works, (Adding and Removing Papertrails to All Flows.) the only point is it is pretty prone to “failures”  
Homey doesn’t Accept “Broken” flows anymore. (Since v2.0)  
So if you have fe 30 Flows but the 3rd flow is broken it will only update the first 2 flows.  
Please check your Homey fitst for broken flows and fix or remove them.

Find a Help here:

> [@Developer Web API Playground - Notes of geeky oneliners](https://community.homey.app/t/developer-web-api-playground-notes-of-geeky-oneliners/24392):
>
> For the developers and geeks that want to investigate their Homey’s config. Run from [Homey Developer Tools](https://developer.athom.com/tools/api-playground) I write this to remember what I did but also to inspire others that I know are better JS developer that can do more magic. (and hope they share to inspire!) WARNING: Be Careful! you can ruïne your config by deleting the wrong objects from there! Only use it if you know what you are doing ! // Get Trigger counts for Flows Homey.flow.getFlows().then(f =\> Object.values(f).reduce((r,b)=\>Obj…

Due to many personal thing I didn’t take time to update the App (Both Papertrails as the Homey Community Backup App with Papertrails Dashboard.)  
Maybe if time permits I will but for now you have to do it with this.

---

<div class="post-metadata">

**Author:** ![Henk\_Renting](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_renting/32/87634_2.png) [@Henk\_Renting](https://community.homey.app/u/Henk_Renting)\
**Post date:** [January 18, 2021, 9:59pm UTC](https://community.homey.app/t/app-pro-papertrails-log-advanced-logging-and-syslog/40/68 "2021-01-18T21:59:29Z")

</div>

> [@Dijker](#):
>
> Tested it last week with Homey v5 and that still works

Great, that was what I was looking for…  
Thx!

---

<div class="post-metadata">

**Author:** ![Bob\_Oosterhof](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bob_oosterhof/32/9034_2.png) [@Bob\_Oosterhof](https://community.homey.app/u/Bob_Oosterhof)\
**Post date:** [January 22, 2021, 7:21pm UTC](https://community.homey.app/t/app-pro-papertrails-log-advanced-logging-and-syslog/40/69 "2021-01-22T19:21:10Z")

</div>

Tnx! Works great.

---

<div class="post-metadata">

**Author:** ![Henk\_Renting](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_renting/32/87634_2.png) [@Henk\_Renting](https://community.homey.app/u/Henk_Renting)\
**Post date:** [February 7, 2021, 6:21pm UTC](https://community.homey.app/t/app-pro-papertrails-log-advanced-logging-and-syslog/40/70 "2021-02-07T18:21:32Z")

</div>

I use the app for a short while now and it works great! Same goes for adding papertrail logging cards to all of my flows via [https://homeybackup.web.app/login/](https://homeybackup.web.app/login/).

Only thing is that the cards added to the ELSE column have the THEN prefix too:

 ![SmartSelect_20210207-191033_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/0/e073d8ab647c37af7218995e0f28f6476ffacb09.jpeg)  
This shouldn’tbe the case I am understanding the site correctly:  
 ![SmartSelect_20210207-191730_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/7/47a6b5357d4a4acac2abb318c80d19c66a228c27.jpeg)

And what is the AL! prefix and what should it do?

---

<div class="post-metadata">

**Author:** ![Henk\_Renting](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_renting/32/87634_2.png) [@Henk\_Renting](https://community.homey.app/u/Henk_Renting)\
**Post date:** [February 28, 2021, 2:43pm UTC](https://community.homey.app/t/app-pro-papertrails-log-advanced-logging-and-syslog/40/71 "2021-02-28T14:43:51Z")

</div>

Seen my post here above, @Dijker?  
Do you think you cam be of help? 😃

---

<div class="post-metadata">

**Author:** ![Tangodelta](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tangodelta/32/9471_2.png) [@Tangodelta](https://community.homey.app/u/Tangodelta)\
**Post date:** [March 3, 2021, 4:55pm UTC](https://community.homey.app/t/app-pro-papertrails-log-advanced-logging-and-syslog/40/72 "2021-03-03T16:55:04Z")

</div>

Just in your honor Dijker, PaperTrails log on front of my server cabinet door

 ![20210303_175138](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/a/0a2cd86d4da6f6a05ac294c47800152ac2358989.jpeg)

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [March 16, 2021, 10:10pm UTC](https://community.homey.app/t/app-pro-papertrails-log-advanced-logging-and-syslog/40/73 "2021-03-16T22:10:03Z")

</div>

> [@Henk\_Renting](#):
>
> And what is the AL! prefix and what should it do?

Hi Henk,  
Yes I had seen your post and already answered it my head… Guess forget to type it over 😉  
Yes you are right, i made some mistake and place Then in the Else part.  
Guess it was because of a little hury before moving to another place, ant that took some time and energy.  
As I also changed Job, I haven’t done much with the computers and these Projects.  
Although I have some nice ideas and now started finding back my sources of this project.

I will definitely look into it again,  
Also have started thinking about and working out another nice homey Project, but that also needs more time.

The AL! stood in my head for Automatic Logging and was to distinguish the auto added part and the Part modified from a user.

---

<div class="post-metadata">

**Author:** ![Henk\_Renting](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_renting/32/87634_2.png) [@Henk\_Renting](https://community.homey.app/u/Henk_Renting)\
**Post date:** [March 17, 2021, 6:58am UTC](https://community.homey.app/t/app-pro-papertrails-log-advanced-logging-and-syslog/40/74 "2021-03-17T06:58:11Z")

</div>

> [@Dijker](#):
>
> I will definitely look into it again

That would be great!  
And curious for your new project(s?).

Thanks for your extensive answer!

---

<div class="post-metadata">

**Author:** ![HuisCHovens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/huischovens/32/16973_2.png) [@HuisCHovens](https://community.homey.app/u/HuisCHovens)\
**Post date:** [April 1, 2021, 7:14pm UTC](https://community.homey.app/t/app-pro-papertrails-log-advanced-logging-and-syslog/40/75 "2021-04-01T19:14:19Z")

</div>

does that automatic log still work with v5.  
I can log in to the website with my homey account, and also make a backup, that just works good.  
I can click on papertrails for as long, add log to each flow, nothing happens? few days later still nothing with Android Chrome not even with Windows.

---

<div class="post-metadata">

**Author:** ![Henk\_Renting](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_renting/32/87634_2.png) [@Henk\_Renting](https://community.homey.app/u/Henk_Renting)\
**Post date:** [April 1, 2021, 7:44pm UTC](https://community.homey.app/t/app-pro-papertrails-log-advanced-logging-and-syslog/40/76 "2021-04-01T19:44:38Z")

</div>

Works flawless here on v5. So that shouldn’t be the problem…

---

<div class="post-metadata">

**Author:** ![Henk\_Renting](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_renting/32/87634_2.png) [@Henk\_Renting](https://community.homey.app/u/Henk_Renting)\
**Post date:** [April 3, 2021, 9:18pm UTC](https://community.homey.app/t/app-pro-papertrails-log-advanced-logging-and-syslog/40/77 "2021-04-03T21:18:52Z")

</div>

Hmmm, just tried it again, and…  
[https://homeybackup.web.app/](https://homeybackup.web.app/) gives me no additions to flows where there were no Papertrails cards before too.  
Can there be something wrong, @Dijker?

So:

- I log on to the backup/Papertrail site
- Press add in the Papertrails config
- I see the site (re) loading
- But no cards are added to my flows. Nor in THEN, nor ELSE (even nog with the wrong naming for ELSE… ☹

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [April 3, 2021, 9:56pm UTC](https://community.homey.app/t/app-pro-papertrails-log-advanced-logging-and-syslog/40/78 "2021-04-03T21:56:31Z")

</div>

You probably have an broken flow,  
First repair all flows. The errorhandling for that is still missing.

---

<div class="post-metadata">

**Author:** ![Henk\_Renting](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_renting/32/87634_2.png) [@Henk\_Renting](https://community.homey.app/u/Henk_Renting)\
**Post date:** [April 3, 2021, 10:22pm UTC](https://community.homey.app/t/app-pro-papertrails-log-advanced-logging-and-syslog/40/79 "2021-04-03T22:22:23Z")

</div>

Sorry, overlooked it. You were absolutely true!  
After repairing the broken flow, it works flawlessly again!  
(except for the ELSE entries, but you already knew that)

Thx, @Dijker!

---

<div class="post-metadata">

**Author:** ![HuisCHovens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/huischovens/32/16973_2.png) [@HuisCHovens](https://community.homey.app/u/HuisCHovens)\
**Post date:** [April 4, 2021, 8:31am UTC](https://community.homey.app/t/app-pro-papertrails-log-advanced-logging-and-syslog/40/80 "2021-04-04T08:31:26Z")

</div>

okay, i have a broken flow too. I will try to fix it and then see if it works again. thanks for the tip.

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [April 4, 2021, 8:34am UTC](https://community.homey.app/t/app-pro-papertrails-log-advanced-logging-and-syslog/40/81 "2021-04-04T08:34:29Z")

</div>

> [@HuisCHovens](#):
>
> okay, i have a broken flow too

Try this

> [@Developer Web API Playground - Notes of geeky oneliners](https://community.homey.app/t/developer-web-api-playground-notes-of-geeky-oneliners/24392/1):
>
> ```auto
> // Or Get broken flows
> // Run and only the broken flows are returned ;-)
> Homey.flow.getFlows().then(f => Object.values(f).reduce((r,b)=> Object.assign(r, b.broken ? {[b.name]:b.broken} : ''), {}) );
> 
> ```

---

<div class="post-metadata">

**Author:** ![HuisCHovens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/huischovens/32/16973_2.png) [@HuisCHovens](https://community.homey.app/u/HuisCHovens)\
**Post date:** [April 4, 2021, 8:48am UTC](https://community.homey.app/t/app-pro-papertrails-log-advanced-logging-and-syslog/40/82 "2021-04-04T08:48:15Z")

</div>

This is works great Dijker.  
I have 4 flows that was broken. luckily these are all test flows so I can easily remove them. And then I can try it again.

Thank you it works broken flows fixit,  
and now i can get logs on any flow. 🙂

---

<div class="post-metadata">

**Author:** ![BartOverdevest](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bartoverdevest/32/38783_2.png) [@BartOverdevest](https://community.homey.app/u/BartOverdevest)\
**Post date:** [May 12, 2021, 9:40pm UTC](https://community.homey.app/t/app-pro-papertrails-log-advanced-logging-and-syslog/40/83 "2021-05-12T21:40:55Z")

</div>

I have successfully linked the Paper Trails log to a free Papertrail on [papertrailapp.com](http://papertrailapp.com).  
On every line it shows Trails as the first key word (app name?)  
For several additions i added a $ in front of a common key word, thinking it would be used as an alternative App name, as stated on the config page. (Where Trails is set as the generic app name)  
I see that keywords prefixed with a $ have dissappeared.

How to use this feature? Could there be a bug?

Similar issue was posted at #38, but was not addressed.

[Previous page](https://community.homey.app/t/app-pro-papertrails-log-advanced-logging-and-syslog/40.md?page=3)

[Next page](https://community.homey.app/t/app-pro-papertrails-log-advanced-logging-and-syslog/40.md?page=5)
