Giter Site home page Giter Site logo

Apache access log rotation about zpanelx HOT 4 CLOSED

zpanel avatar zpanel commented on July 21, 2024
Apache access log rotation

from zpanelx.

Comments (4)

stokes84 avatar stokes84 commented on July 21, 2024

This is more of a feature request than an "Issue". I know in CentOS, by default log rotations are weekly and 4 weeks of previous logs are kept. I can't recall Ubuntu's default log rotations. Unfortunately with any panel you won't cover all bases so you'll still have to administer your server from time to time. This is an easy one though just look into the logrotate package. It's well documented all over the interwebz in regards to install and setup.

from zpanelx.

jacobgelling avatar jacobgelling commented on July 21, 2024

@stokes84 👍

I think this should be the admin's job rather than ZPanels. I've got mine rotating every couple days and then backing up to another server.

from zpanelx.

jcerdan avatar jcerdan commented on July 21, 2024

Well, Apache logs are used for stats. It should be interesting to know how long are those logs processed so that log rotation won't affect the stats processing (awstats module installed).

from zpanelx.

allebb avatar allebb commented on July 21, 2024

Yep agree with @jacobg830 this is the job of the server admin as so many people I'm sure would have preferred configurations (rotation times etc.) :)

@jcerdan Good point, but bandwidth generation is aggregated from a separate 'access' file and then truncated automatically after generation :) - So as long as the log rotation is NOT configured for the bandwidth.access.log file then should be good :)

from zpanelx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.