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. 2017-05-27, 00:22:54

Author Topic: Help Logrotate and logs  (Read 59 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: 14,487
  • Karma: +105/-8
  • 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"



 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.052 seconds with 19 queries.

web stats analysis