noushadali / openhab

Automatically exported from code.google.com/p/openhab
GNU General Public License v3.0
0 stars 0 forks source link

Modified Configuration Files do not get reloaded #452

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Change a Rule/Script/Item File

What is the expected output? What do you see instead?
As in previous Versions, there should be a Controlled Reload of the File which 
has been modified. (Unless it is deactivated in the configuration file)

What version of the product are you using? On what operating system?
Openhab 1.3
Raspbian GNU/Linux 7 (wheezy)

Please provide any additional information below.
Also discussed here https://groups.google.com/forum/#!topic/openhab/D2KpzGEmJFs

Original issue reported on code.google.com by tim.wey...@gmail.com on 15 Sep 2013 at 8:27

GoogleCodeExporter commented 9 years ago
I cannot reproduce that they are NOT reloaded - it just didn't log an info 
message anymore.

When started in debug mode, I see the following in the log when changing 
demo.rules:
11:10:45.445 DEBUG o.o.m.r.i.e.RuleTriggerManager[:480] - Removed scheduled 
cron job 'demo.rules#Crontest#0/15 * * * * ?'
11:10:45.463 DEBUG o.o.m.r.i.e.RuleTriggerManager[:480] - Removed scheduled 
cron job 'demo.rules#Set random room temperatures#0 0/5 * * * ?'
11:10:45.475 DEBUG o.o.m.r.i.e.RuleTriggerManager[:480] - Removed scheduled 
cron job 'demo.rules#Update max and min temperatures#0 0 0 * * ?'
11:10:45.487 DEBUG o.o.m.r.i.e.RuleTriggerManager[:480] - Removed scheduled 
cron job 'demo.rules#Persistence Demo#0 * * * * ?'
11:10:45.517 DEBUG o.o.m.r.i.e.RuleTriggerManager[:458] - Scheduled rule 
Crontest with cron expression 0/15 * * * * ?
11:10:45.534 DEBUG o.o.m.r.i.e.RuleTriggerManager[:458] - Scheduled rule Set 
random room temperatures with cron expression 0 0/5 * * * ?
11:10:45.549 DEBUG o.o.m.r.i.e.RuleTriggerManager[:458] - Scheduled rule Update 
max and min temperatures with cron expression 0 0 0 * * ?
11:10:45.561 DEBUG o.o.m.r.i.e.RuleTriggerManager[:458] - Scheduled rule 
Persistence Demo with cron expression 0 * * * * ?

I have added an "refreshing" info logging with changeset 
https://code.google.com/p/openhab/source/detail?r=1fef0f72988d864adfba98976d761a
265da9c5e0&name=1.3.1

Original comment by kai.openhab on 15 Sep 2013 at 9:13