Email Event Log Data

Posted on
Fri Mar 05, 2021 6:03 pm
Dual offline
Posts: 255
Joined: Feb 05, 2019

Email Event Log Data

Since it appears that built-in email is not recommended, can the Email Event Log Data action be changed into a Copy Event Log Data Into Variable action. I could then use Better Email to send the Variable containing the event log data.

Cheers

John

Posted on
Sun Mar 07, 2021 4:33 pm
matt (support) offline
Site Admin
User avatar
Posts: 21411
Joined: Jan 27, 2003
Location: Texas

Re: Email Event Log Data

Hi John,

Yes, we'll add that to the feature request list. In the mean time you could execute an embedded Python script action that looks like this to copy the last N lines of the Event Log into a variable value:

Code: Select all
logvar = indigo.variables[YOUR_LOG_VARIABLE_ID_HERE]
logstr = indigo.server.getEventLogList(lineCount=5, showTimeStamp=False, returnAsList=False)
indigo.variable.updateValue(logvar, logstr)

Image

Posted on
Sun Mar 07, 2021 4:37 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Email Event Log Data

You could also file a issue for the Better Email plugin to add that functionality. Assuming that indigo.server.getEventLogList() call works from a plugin...

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Mar 07, 2021 5:19 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Email Event Log Data


joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Mon Mar 08, 2021 10:52 am
matt (support) offline
Site Admin
User avatar
Posts: 21411
Joined: Jan 27, 2003
Location: Texas

Re: Email Event Log Data

Thanks Joe!

Image

Posted on
Wed Mar 31, 2021 10:48 pm
Dual offline
Posts: 255
Joined: Feb 05, 2019

Re: Email Event Log Data

FlyingDiver wrote:


Hi Joe.

I downloaded it today and implemented it and tested. Perfect! Thanks.

Cheers

John

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests