Comments (3)
/etc/logrotate.d/
https://www.tecmint.com/install-logrotate-to-manage-log-rotation-in-linux/
from luminance.
Thanks for that. I assume now that I just need to edit the current /etc/lograte.conf and add to it the contents of your example /etc/lograte.conf is that correct?
# rotate log files weekly
weekly
# keep 4 weeks worth of backlogs
rotate 4
# create new (empty) log files after rotating old ones
create
# use date as a suffix of the rotated file
dateext
# uncomment this if you want your log files compressed
#compress
# RPM packages drop log rotation information into this directory
include /etc/logrotate.d
# no packages own wtmp and btmp -- we'll rotate them here
/var/log/wtmp {
monthly
create 0664 root utmp
minsize 1M
rotate 1
}
/var/log/btmp {
missingok
monthly
create 0600 root utmp
rotate 1
}
# system-specific logs may be also be configured here.
/var/log/luminance/*.log {
daily
missingok
rotate 52
compress
delaycompress
notifempty
create 640 nginx nginx
}```
from luminance.
You can do that but it's not recommended, simply put the luminance logrotate.conf file into the logrotate.d directory and name it appropriately.
from luminance.
Related Issues (20)
- HTTP Error 500 when uploading a torrent HOT 1
- 504 Gateway Time-out HOT 2
- Composer installed in folder, but still asking for it HOT 3
- Users unable to connect to each other. HOT 4
- Hello HOT 1
- php7.4 Installation error HOT 6
- Error message: Invalid e-mail format.
- 404 Not Found HOT 3
- No input file specified. HOT 7
- no javascript loaded HOT 2
- bots login
- twing templates HOT 1
- Update HOT 7
- date
- Internal 500 Error [Render.php]
- IP-related 500 Internal Server Error HOT 1
- image host
- Importing tools
- composer error HOT 1
- Invalid token format HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from luminance.