• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • Our UX team believes in the in the power of direct feedback and would like to invite you to participate in interviews, tests, and surveys.
    To stay in the loop and never miss an opportunity to share your thoughts, please subscribe to our UX research program. If you were previously part of the Plesk UX research program, please re-subscribe to continue receiving our invitations.
  • 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