Page 1 of 1

Awasu: Error loging and reporting

Posted: Mon Apr 14, 2008 3:17 pm
by vidconf
Awasu has become mission critical in our organization.

We rely on Awasu for all of our RSS needs.

To that end I would suggest an Awasu "Error" reporting via email.

I would like to auto receive these error events via email or via RSS feed:

1) Channel failed to update after x attempts
2) Unable to FTP reports
3) Any other error event that prevents Awasu from updating Channels and auto creating reports.

Cheers

Vid

Re: Awasu: Error loging and reporting

Posted: Mon Apr 14, 2008 11:05 pm
by support
vidconf wrote:To that end I would suggest an Awasu "Error" reporting via email.

Hmmm, interesting request :-) I don't know if enough people would be interested in something like this to make it worthwhile adding such a feature.

Everything that appears in the Error Log window (accessible from the View menu) also gets logged to a file (Logs/AwasuError.log) so maybe you could set up a daemon process that monitors this file and emails any changes. Hey, you could even write a plugin channel that monitors this file and generates an RSS feed from the contents and then monitor Awasu's errors in Awasu :whistle:

Posted: Tue Apr 15, 2008 8:15 am
by vidconf
gets logged to a file (Logs/AwasuError.log)

Interesting I did not know this log file existed.

I can work with this :D for my error reporting.

Thanks

Vid

Re: Awasu: Error loging and reporting

Posted: Sun Sep 25, 2011 4:26 am
by WolgangW
In the widest sense I can use this part of the formum for getting an answere to checkimng some code piece for a channel plug in ?:

HOME_URL = "http://www.pkv1.org"
NFEEDITEMS = 10
print "<rss>"
print "<channel>"
print
print "<title>My PKV channel</title>"
print "<link>" + HOME_URL + "</link>"
print "<description>This is my new RSS feed produced through the experimental PKV channel plugin.</description>"
print
for i in range(1,NFEEDITEMS+1) :
print "<item>"
print " <title>Item " + str(i) + "</title>"
print " <link>" + HOME_URL + "/item" + str(i) + ".html</link>"
print " <description>My sample descrition" + str(i) + "</description>"
print "</item>"
print
print "</channel>"

ThankĀ“s
Wolfgang

----------------------------------------------------

Re: Awasu: Error loging and reporting

Posted: Sun Sep 25, 2011 10:12 am
by support
WolgangW wrote:In the widest sense I can use this part of the formum for getting an answere to checkimng some code piece for a channel plug in ?

You need this at the end, to make the XML complete:

Code: Select all

print "</rss>"