Search found 11 matches

by ricard
Saturday 19 March 2016 13:09
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: How to do reduce log interval
Replies: 38
Views: 18208

Re: How to do reduce log interval

It is the WebServer.cpp in the "main" folder not the SQLServer.cpp I only had to change the code as below: int iShortLogInterval = atoi(request::findValue(&req, "ShortLogInterval").c_str()); if (iShortLogInterval < 1) iShortLogInterval = 1; m_sql.UpdatePreferencesVar("ShortLogInterval ...
by ricard
Sunday 07 February 2016 14:19
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: How to do reduce log interval
Replies: 38
Views: 18208

Re: How to do reduce log interval

Hi gizmocuz

Thank you for the additional information.
by ricard
Sunday 07 February 2016 14:16
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Log Interval
Replies: 9
Views: 7552

Re: Log Interval

Just in case someone is interested

I have successfully changed the log interval from 5 minutes to 1 minute by changing the iShortLogInterval in the SQLServer.cpp

And then rebuilding/re-making the code

viewtopic.php?f=4&t=10183&p=73855#p73855
by ricard
Sunday 07 February 2016 12:26
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Shortlog interval Question
Replies: 8
Views: 2051

Re: Shortlog interval Question

Just in case someone is interested

I have successfully changed the log interval from 5 minutes to 1 minute by changing the iShortLogInterval in the SQLServer.cpp

And then rebuilding/re-making the code

viewtopic.php?f=4&t=10183&p=73855#p73855
by ricard
Sunday 07 February 2016 12:25
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: How to do reduce log interval
Replies: 38
Views: 18208

Re: How to do reduce log interval

Just in case someone is interested (which I think there will be more than one)

I have successfully changed the log interval from 5 minutes to 1 minute by changing the iShortLogInterval in the SQLServer.cpp

And then rebuilding/re-making the code
by ricard
Tuesday 26 January 2016 0:03
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: How to do reduce log interval
Replies: 38
Views: 18208

Re: How to do reduce log interval

I think it I can change it in the SQLHelper.cpp file.

But as you said, there is a lot of code to dig.

It would be great if someone could point to the right place.
by ricard
Monday 25 January 2016 23:50
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: How to do reduce log interval
Replies: 38
Views: 18208

Re: How to do reduce log interval

I couldn't find an appropriate subforum, so I wrote my question in here.

I am trying to make a Historian and I would appreciate any constructive ideas/opinions.
by ricard
Monday 25 January 2016 21:57
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: How to do reduce log interval
Replies: 38
Views: 18208

Re: How to do reduce log interval

Dear Egregius, "The man who says it can't be done... shouldn't interrupt the man who is trying to do it" I would like to reduce the log interval from 5 minutes to 1 minute. I am happy to work with the source code, and I would appreciate if somebody can tell me which are the file/s that I will need ...
by ricard
Sunday 24 January 2016 22:21
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: How to do reduce log interval
Replies: 38
Views: 18208

Re: How to do reduce log interval

My intention is to modify the code so that the interval is 1 minute instead of 5 minutes, and only log/record the value if the deviation is more than 10%.
by ricard
Sunday 24 January 2016 22:12
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: How to do reduce log interval
Replies: 38
Views: 18208

Re: How to do reduce log interval

Yes, I would like to have higher resolution on the graphs/data logged.
by ricard
Sunday 24 January 2016 17:11
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: How to do reduce log interval
Replies: 38
Views: 18208

How to do reduce log interval

Hi,

I would like to reduce the log interval from 5 minutes to 1 minute.

Which file of the source code do I need to modify and re-build?

Thank you