eibd & linknx are runnig, via php-homepage I can switsch the lights and so on...
my linknx.xml has following code:
----------------------------------------
<persistence type="file" path="/var/lib/linknx/persist"/>
</services>
<objects>
<object id="cur_date" gad="0/0/1" flags="cwtuf" type="EIS4">Current Date</object>
<object id="cur_time" gad="0/0/2" type="EIS3">Current Time</object>
<object id="light_office" gad="1/4/11" init="persist" log="true">Office light</object>
<object id="temp_aussentemp" gad="0/2/1" type="EIS5" init="persist" log="true">Aussentemp</object>
----------------------------------------
I marked the 2 Objects i want to be logged with <b>init="persist" log="true"</b>, but no file is created
- the path is valid an with chmod 777
- i can create a test-file, so everything is OK in the directory
Can anybody give me a clue?
greetings from austria
EPIX
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You can start linknx without the -d option to see all the log messages in the terminal and see if you can find something about PersistentStorage.
Normally, you should see something like "PersistentStorage: writing log ...." each time one of the logged values is changing.
If you don't find the problem, please send the complete log messages and tell which version of linknx you are using.
Regards,
Jean-François
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I couldn't manage to start logging...
eibd & linknx are runnig, via php-homepage I can switsch the lights and so on...
my linknx.xml has following code:
----------------------------------------
<persistence type="file" path="/var/lib/linknx/persist"/>
</services>
<objects>
<object id="cur_date" gad="0/0/1" flags="cwtuf" type="EIS4">Current Date</object>
<object id="cur_time" gad="0/0/2" type="EIS3">Current Time</object>
<object id="light_office" gad="1/4/11" init="persist" log="true">Office light</object>
<object id="temp_aussentemp" gad="0/2/1" type="EIS5" init="persist" log="true">Aussentemp</object>
----------------------------------------
I marked the 2 Objects i want to be logged with <b>init="persist" log="true"</b>, but no file is created
- the path is valid an with chmod 777
- i can create a test-file, so everything is OK in the directory
Can anybody give me a clue?
greetings from austria
EPIX
Hi,
You can start linknx without the -d option to see all the log messages in the terminal and see if you can find something about PersistentStorage.
Normally, you should see something like "PersistentStorage: writing log ...." each time one of the logged values is changing.
If you don't find the problem, please send the complete log messages and tell which version of linknx you are using.
Regards,
Jean-François
Don't know why, but now logging ist OK, I didn't do anything exept power on/off and now everything is logged as I wished..
Greetings
EPIX