lgarcia06 Posted July 9, 2013 Share Posted July 9, 2013 Hi, Has anyone had an issue with the pineapple and large karma.log file causing the pineapple to become unresponsive? Also does anyone know how to write the karma.log to USB? (tried editing the startkarma.php and other places that use the /tmp/karma.log but being unsuccessful) Cheers Quote Link to comment Share on other sites More sharing options...
silverk Posted August 5, 2013 Share Posted August 5, 2013 hi exec ("echo '' > /tmp/karma.log"); does not do more as writes whitespace and newline to karma.log /tmp is tmpfs. It is basically file system existing only in RAM. It has limited space and gets deleted with every reboot. In order to maintain reasonable log size there is cron job /pineapple/scripts/cleanup.sh You can take look to log file size and try that script manually if it works for you. As it is today at least I have not found any good way to move karma.log to some other place. 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.