error_log in pulse_diff and kwh_to_power

Hi.

I just realized that those error_log calls in pulse_diff and kwh_to_power are "polluting" my apache error logs.

(Fist call here, 4 in total.)

I guess I can remove them...

Why are they here ? Does this mean those functions are still work in progress ? I'm interested because I'm working on them and knowing that nobody is using them means I have more freedom to break their behavior if needed.

Jérôme's picture

Re: error_log in pulse_diff and kwh_to_power

OK, apparently Trystan uses his own logger:

https://github.com/emoncms/emoncms/blob/master/.htaccess#L26

php_flag log_errors on
php_value error_log /home/trystan/error.log

Comment viewing options

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