Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-03-28, 23:34:42

Author Topic: Help Logrotate and logs  (Read 2145 times)

0 Members and 1 Guest are viewing this topic.

Offline yazar25

  • Junior Member
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Help Logrotate and logs
« 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

--
« Last Edit: 2017-05-18, 10:41:13 by yazar25 »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Help Logrotate and logs
« Reply #1 on: 2017-05-18, 11:57:36 »
I think I did changed this logrotate and you can  see in '/usr/local/lxlabs/kloxo/file/logrotate/etc/logrotate.d/kloxo'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline yazar25

  • Junior Member
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Help Logrotate and logs
« Reply #2 on: 2017-05-18, 17:03:29 »
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"



 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.039 seconds with 19 queries.

web stats analysis