How to fetch log details - VisualCron - Forum

Community forum

Mayank Goyel
2010-07-19T07:35:11Z
Hi All,

I am trying to fetch log information using following code:

Log log = new Log(ref server); //server is the active object of Server class.

List<LogClass> logs = log.GetAll();

I am getting empty collection. However, there are many log entries available.

Please help me out...
Support
2010-07-19T10:45:07Z
Hi,

as we mentioned before there are only 2000 items in the history. And right now, these 2000 entries are not exposed in the API.

Instead, I recommend that you log in real time instead to capture all events. Not sure how you want to use the information though.

I am moving this topic to Feature requests forum and we will update this when we change the log history behavior.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top