AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Operatingsystems
#Servers
#AIX
#AIX
#AIX
#AIX
#AppPerformanceManagement
#Power
 View Only
  • 1.  Rotating logs in syslog.conf

    Posted Mon August 02, 2010 10:04 AM

    Originally posted by: CTetreault


    Hello...

    If I set log files to rotate monthly in syslog.conf (1m), what exactly does that mean? Does it rotate 30 days after I restart syslog? Or does it use the calendar and rotate at the end of each month?

    Thanks.
    #AIX-Forum


  • 2.  Re: Rotating logs in syslog.conf

    Posted Wed August 04, 2010 11:42 AM

    Originally posted by: DjRobin69


    Something like

    local2.info /var/adm/sudo.log rotate time 30d
    #AIX-Forum


  • 3.  Re: Rotating logs in syslog.conf

    Posted Wed August 04, 2010 11:48 AM

    Originally posted by: DjRobin69


    Will be exactly 30 days after you roll the syslog
    #AIX-Forum


  • 4.  Re: Rotating logs in syslog.conf

    Posted Wed August 04, 2010 04:52 PM

    Originally posted by: CTetreault


    Thanks for your help.
    #AIX-Forum