sys log-rotateΒΆ

sys log-rotate(1)				  BIG-IP TMSH Manual				    sys log-rotate(1)

NAME
       log-rotate - Configures log rotation for the BIG-IP(r) system.

MODULE
       sys

SYNTAX
       Configure the log-rotate component within the sys module using the syntax in the following sections.

   MODIFY
	modify log-rotate
	  options:
	    common-backlogs [integer]
	    common-include [string]
	    description [string]
	    ilx-include [string]
	    ilx-rotations [string]
	    ilx-schedule [string]
	    ilx-size [string]
	    include [string]
	    max-file-size [integer]
	    mysql-include [string]
	    syslog-include [string]
	    tomcat-include [string]
	    wa-include [string]

	edit log-rotate
	  options:
	    all-properties
	    non-default-properties

   DISPLAY
	list log-rotate
	list log-rotate [option]
	show running-config log-rotate
	show running-config log-rotate [option]
	  options:
	    all-properties
	    non-default-properties
	    one-line

DESCRIPTION
       You can configure the system to rotate the log files after a specified length of time. This helps to clear the
       hard drive of unneeded log files.

EXAMPLES
	    modify log-rotate common-backlogs 7

	    Specifies that the system saves seven copies of the common log files.

	    list log-rotate all-properties

	    Displays the configuration of the log-rotate component.

OPTIONS
       common-backlogs
	    Specifies the number of logs that you want the system to save. Select a number from the valid range of 1
	    - 100. The default value is 24.

       common-include
	    The default value is none.

	    Warning: Do not use this option without assistance from the F5 Technical Support team. The system does
	    not validate the commands issued using this option. If you use the common-include option incorrectly, you
	    put the functionality of the system at risk.

       description
	    User defined description.

       ilx-include
	    The default value is none.

	    Warning: Do not use this option without assistance from the F5 Technical Support team. The system does
	    not validate the commands issued using this option. If you use the include option incorrectly, you put
	    the functionality of the system at risk.

       ilx-rotations
	    The default value is 10.

	    Warning: Do not use this option without assistance from the F5 Technical Support team. The system does
	    not validate the commands issued using this option. If you use the include option incorrectly, you put
	    the functionality of the system at risk.

       ilx-schedule
	    The default value is daily.

	    Warning: Do not use this option without assistance from the F5 Technical Support team. The system does
	    not validate the commands issued using this option. If you use the include option incorrectly, you put
	    the functionality of the system at risk.

       ilx-size
	    The value is specified in kilobytes. The default value is 10240 kilobytes.

	    Warning: Do not use this option without assistance from the F5 Technical Support team. The system does
	    not validate the commands issued using this option. If you use the include option incorrectly, you put
	    the functionality of the system at risk.

       include
	    The default value is none.

	    Warning: Do not use this option without assistance from the F5 Technical Support team. The system does
	    not validate the commands issued using this option. If you use the include option incorrectly, you put
	    the functionality of the system at risk.

       max-file-size
	    The max size of rotated log files in kB. The default value is 1024000.

       syslog-include
	    The default value is none.

	    Warning: Do not use this option without assistance from the F5 Technical Support team. The system does
	    not validate the commands issued using this option. If you use the syslog-include option incorrectly, you
	    put the functionality of the system at risk.

       tomcat-include
	    The default value is none.

	    Warning: Do not use this option without assistance from the F5 Technical Support team. The system does
	    not validate the commands issued using this option. If you use the tomcat-include option incorrectly, you
	    put the functionality of the system at risk.

       wa-include
	    The default value is none.

	    Warning: Do not use this option without assistance from the F5 Technical Support team. The system does
	    not validate the commands issued using this option. If you use the wa-include option incorrectly, you put
	    the functionality of the system at risk.

SEE ALSO
       edit, list, modify, show, tmsh

COPYRIGHT
       No part of this program may be reproduced or transmitted in any form or by any means, electronic or
       mechanical, including photocopying, recording, or information storage and retrieval systems, for any purpose
       other than the purchaser's personal use, without the express written permission of F5 Networks, Inc.

       F5 Networks and BIG-IP (c) Copyright 2009-2010. All rights reserved.

BIG-IP						      2016-07-29				    sys log-rotate(1)