barry99705 Posted April 7, 2014 Share Posted April 7, 2014 Hey guys. I can't get karma to log anything. I've set the log location to be /sd/logs/ but nothing is written. I see karma info in the normal syslog though. Quote Link to comment Share on other sites More sharing options...
Sailor Posted April 8, 2014 Share Posted April 8, 2014 Can you check if it gets written to /overlay/sd/logs? That is where it ends up in my configuration. Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted April 8, 2014 Share Posted April 8, 2014 Yeah, we just fixed this issue and it will be in the next beta - sorry about that. For a quick fix, simple execute the following: sed -i '10 i sleep 3' /etc/init.d/network && reboot That will fix your problem. Best Regards, Sebkinne Quote Link to comment Share on other sites More sharing options...
lunokhod Posted April 9, 2014 Share Posted April 9, 2014 (edited) I've noticed something else weird with the Karma logs too...If I add a blacklisted client MAC address using the Karma GUI... it gets added fine and appears in the list. If I then check the log file "cat /tmp/karma-phy0.log" I see an entry stating, "There are now 1 MAC addresses in the list". If I then remove that MAC address I do not see a log entry about it being removed, but it no longer appears if I click "View List". If I then add a different MAC address using the GUI, the log file gets updated to say, "There are now 2 MAC addresses in the list"... even though I have removed the first MAC address! The web GUI only shows the 2nd added MAC address. The Karma web GUI does not show these log entries under the Karma Log tab. I'm also wondering in future versions of Karma can timestamp the log entries... I find that log entries are only partly useful if you don't know excatly when the events took place. Edited April 9, 2014 by lunokhod Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted April 9, 2014 Share Posted April 9, 2014 I've noticed something else weird with the Karma logs too... If I add a blacklisted client MAC address using the Karma GUI... it gets added fine and appears in the list. If I then check the log file "cat /tmp/karma-phy0.log" I see an entry stating, "There are now 1 MAC addresses in the list". If I then remove that MAC address I do not see a log entry about it being removed, but it no longer appears if I click "View List". If I then add a different MAC address using the GUI, the log file gets updated to say, "There are now 2 MAC addresses in the list"... even though I have removed the first MAC address! The web GUI only shows the 2nd added MAC address. I'm also wondering in future versions of Karma can timestamp the log entries... I find that log entries are only partly useful if you don't know excatly when the events took place. For the timestamps, try out the beta, it includes those. In regards to the amount of macs in the list, if this issue is still present in the beta, please report it there! Best regards, Sebkinne Quote Link to comment Share on other sites More sharing options...
barry99705 Posted April 10, 2014 Author Share Posted April 10, 2014 Beta works so far! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.