Write event log on Web Page ?

Posted on
Fri Feb 02, 2007 12:03 pm
mric offline
Posts: 61
Joined: Sep 26, 2006
Location: Nîmes (France)

Write event log on Web Page ?

Hello,
I want to know if it's possible because I don't find it on forum :?
I want to see 10 last events or, writte it on sql base ? :D

Thanks

Mric

Posted on
Fri Feb 02, 2007 10:16 pm
matt (support) offline
Site Admin
User avatar
Posts: 21417
Joined: Jan 27, 2003
Location: Texas

Re: Write event log on Web Page ?

mric wrote:
Hello,
I want to know if it's possible because I don't find it on forum :?
I want to see 10 last events or, writte it on sql base ? :D

Thanks

The goal/plan is to provide a native Event Log control type you can put on your Control Pages. But that doesn't exist yet. :-)

There is a handy new AppleScript verb that will let you extract out the log lines.

Code: Select all
build event log list line count 10

So you could try stuffing that into a variable:

Code: Select all
set value of variable "logLines" to (build event log list line count 10)

And then add a variable control to your page for the var logLines. But I think the line breaks won't work well. To make this work I suspect you'll have to create a variable for every line and then loop over the 10 lines and stuff a single line in each variable...

Regards,
Matt

Posted on
Wed Apr 04, 2007 12:25 pm
mric offline
Posts: 61
Joined: Sep 26, 2006
Location: Nîmes (France)

(No subject)

Ok I tested it but I've this information :

Sent X10 "detecteursalon" Off

I want to do it : (if possible)

Image

As homeseer :?

Mric

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 8 guests