MRatWork Forum by Mustafa Ramadhan
Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: yazar25 on 2017-05-18, 10:35:26
-
Hello;
For kloxo mr 7
/ Home / httpd / xxxx.com / stats custom_log
What are the jeans for 2 years to keep custom_log?
I could not set it up for 3 days
Thank you
--
I'm trying to edit
/ etc / logrotate.d / kloxo
# Kloxo LogRotate
# Initial version
# Needs cleanup
# Using this one on LxCenter server
# Created by Danny Terweij <d.terweij@lxcenter.org>
#
# Daily rotates (compressed) and keeps maximum of 30 days
#
# add and modified by Mustafa Ramadhan <mustafa.ramadhan@lxcenter.org>
/home/httpd/*/stats/*_log
/home/*/__processed_stats/*_log
/usr/local/lxlabs/kloxo/log/*
{
daily
#create 0664 apache apache
rotate 736
compress
delaycompress
notifempty
missingok
sharedscripts
postrotate
sh /scripr/restart-web -y >/dev/null 2>&1 || true
sh /scripr/restart -y >/dev/null 2>&1 || true
endscript
}
---
>>> invalid mustafa.ramadhan@lxcenter.org
--
-
I think I did changed this logrotate and you can see in '/usr/local/lxlabs/kloxo/file/logrotate/etc/logrotate.d/kloxo'
-
Thank you
We can add the drive upload button next to the File Manager Download button
Button will work with this jeans
drive upload --file "/home/kloxo/client/admin/__backup/kloxomr70-scheduled-admin-2017-Apr-13-xxxxx.tgz"