PDA

View Full Version : webserver triggering events or visible at logger



mhund
June 14th, 2016, 12:37 PM
Hi Ron,

second question for today: I'm experimenting with the webserver (again). I don't see incoming http requests in the logger anymore. Is that feature away in G6 or did I deactivate it (by accident) anyhow? Where can I configure which events should be visible in the logger?

regards,

Martin

Ron
June 14th, 2016, 12:54 PM
That was removed since it was a bit overkill. You can easily trigger an event using a bit of lua in an lhtml.

create a file like important.lhtml with the following content:



<%
gir.triggerEvent( "important", 18, 0 )
%>


distilled from the example in gir/triggerEvent.lhtml

Does that help?

mhund
June 14th, 2016, 04:15 PM
Hi Ron,

it does the job. It's just for debugging purposes and I didn't notice that the feature was banned. Thanks again.

regards,

Martin