Jump to content

Writing Karma.log to USB


Recommended Posts

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

Link to comment
Share on other sites

  • 4 weeks later...

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...