Menu

Logging

Help
EPIX
2008-03-09
2012-12-14
  • EPIX

    EPIX - 2008-03-09

    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

     
    • jef2000

      jef2000 - 2008-03-09

      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

       
    • EPIX

      EPIX - 2008-03-11

      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

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.