• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Resolved How to Manage Log Files and Change Log File Size. Affects Fail2Ban

Zardiw

Basic Pleskian
Go to Websites and Domains.

On the particular Web site, click on Logs

At the Upper Right is a pull down called All Logs

Click on it, and pick Manage Log Files

On the next page pick Log Rotation

Pick Log Rotation by size, and make the number 2048KB ........that should be plenty big enough for Fail2Ban,
since these are text files and you can put a whole LOTTA info in a text file w/o it being too big

I don't know what the maximum number of log files means.....

Also notice this little gem: 'Note that your custom logs are not rotated.'

My take on this stuff.

1. Managing Log file size is WAY too hidden.........they really buried it as far as they could, and that's saying a lot, coming from a programmer, and a web user for over 20 years.
2. I don't know if 'Compress Log Files' has any consequences as far as server efficiency.
3. And I have no idea what 'rotate' means, OR the number of log files.
4. plesk needs a LOT of work to make it user intuitive and usable.......A LOT of work
5. Entirely TOO MANY software packages and website applications are created in a VACUUM!
What that means is the programmers get ZERO input from the people that are actually gonna use the garbage they create, no matter HOW 'pretty' it is.....and how much it impresses upper management/whotfever, so they can justify their pay and their fees for their 'program'.

z
 
Last edited:
This is a related issue I ran into last week. It doesn't seem to be getting addressed:
Nginx SSL access logs not rotated according to GUI settings -- fail2ban suffers

For your questions:
  • Rotate log files: When a log file reaches a certain size, OR when a log file is a certain age, it is "rotated" by copying the file and starting a new log — a way of archiving logs. Each time the new empty log is created, the replaced log is copied into a new file like "error_log.1" and "error_log.2" etc, etc... You can specify that the archived log get compressed as well, making them "err_log.1.gz" etc, etc...

  • Number of log files: This setting lets you limit the number of log file "archives" the server keeps. Any logs exceeding this number are deleted completely.
My issue is that at least one non-custom log file does not get rotated according to the settings specified by the user.
 
Last edited:
Thanks for that Info GJ!!.......Now I understand a little better........I'm going to change that log files number to 3 or so.....

What exactly do you change to solve that other issue you discovered about the log file that doesn't get rotated?

z
 
Back
Top