Emoncms - how to turn on error logging?

Hi

How can I turn on error/activity logging?

I'm having problems with some types of input processing (e.g. "kwh-kwh/d", "rate of change") and I want to see what the problem is. The input json works fine (responds "ok") so no help there...

I'm using a hosted service and I'm suspecting some required php modules are not installed/working so I need an error log which I can access (i.e. not a system error log).

The symptoms are:

Adding "kwh-kwh/d" or "rate of change" process shows in the feed list as inactive (ie not updating) even though others in the input's process list (eg "log to feed", "Power-kwh/d") are working.

I've tried this on 8.4 and 8.5 so it's probably a host problem.

Thanks

Mike

pb66's picture

Re: Emoncms - how to turn on error logging?

Do you know if redis is installed/operational?

Both of these functions depend on redis and will just skip without raising an error if redis isn't found.

I'm not familiar with emoncms logging so cannot help there but if it is redis (or lack of) the logs might not help.

Paul

Esk Energy's picture

Re: Emoncms - how to turn on error logging?

Hi Paul

This sounds like a likely lead

When I first copied the data to my host (using backup.php) I had a few redis errors (worked OK for a bit then inexplicable said something like "the redis server has gone away").

I'll have a check with the providers about redis

Many thanks

Mike

Esk Energy's picture

Re: Emoncms - how to turn on error logging?

Hi Paul

I've checked with the hosting service and it looks like you are right.

The Redis option in the PHP Selector is only the PHP library for
communicating with a redis server.
We don't run a redis server on any of our machines, so you would need to
grab a VPS and set up the redis server or buy a server with redis labs who
specialize in redis servers.
Any further questions or problems please let us know.

This should probably be on the "host emon youself" page...

Thanks

Mike

pb66's picture

Re: Emoncms - how to turn on error logging?

No worries, There is a similar issue with windows too, that's how i recognized the symptoms as I recalled the same processes not working due to redis issues recently.

Paul

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.