Jump to content

Couchpotato excessive log writes


DarkKnight

Recommended Posts

To avoid the endless writes to my ssd from the overachieving CP log, I moved the log directory out of the /config appdata directory and to /tmp. There is no real need to maintain the logs in the long term, and I have lots of ram for tiny logs files, so it seemed like a good idea. Tried symlink first, but that didn't work as expected. The solution was to remap the docker container path '/config/data/logs' to the '/tmp/logs' host path. This is in addition to, not in place of, the regular /config map. CP/Docker will create a appdata/couchpotato/data/logs directory anyway, but the files will land in /tmp/logs and CP will only throw a single error the first time it's created. Seems like a win/win. Thought I'd post this here to help anyone else that would like to save some life on their SSD.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

×
×
  • Create New...