l3uddz / plex_autoscan

Script to assist sonarr/radarr with plex imports. Will only scan the folder that has been imported, instead of the whole library section.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Some control over log size

saitoh183 opened this issue · comments

I just wanted to know if it would be possible to add log size control in the config file. The reason behind the request is that Logarr has a hard time loading when the log starts to go over 2mb. Most of my logs in there roll when they hit 1mb just so that logarr stays responsive and more so when loading the page via mobile.

/var/log/plex_autoscan.log {
missingok
notifempty
size 2m
yearly
create 0600 root root
}

@zenjabba

Where do i add that?

@zenjabba Thank you!

Ill set it to rotate log at 2MB