[Ultramonkey-l7-users 342] Re: l7vsdのログローテについて

Back to archive index

稲垣 tadas****@gmail*****
2010年 2月 12日 (金) 16:45:42 JST


竹林様

お世話になります。稲垣です。


>   設定内容もメールに転記していただいたもので OK です.
>   
設定内容転記致します。

========================================================
# l7vs performance setting
#
[iomux]
max_events = 1024

[conn]
# recv/send buffer size
read_bufsize = 20480

#
# l7vs log setting
#
[logger]
# l7vsd logfile base name
l7vsd_log_filename = "/var/log/l7vs/l7vsd.log"
# l7vsd log rotate pattern
l7vsd_rotation = "size"
# l7vsd rotate max backup number
l7vsd_max_backup_index = "10"
# l7vsd rotate file size
l7vsd_max_filesize = "10M"

# l7vsd log categories level
l7vsd_network = "warn"
l7vsd_network.bandwidth = "warn"
l7vsd_network.num_connection = "warn"
l7vsd_network.qos = "warn"
l7vsd_virtual_service = "warn"
l7vsd_real_server = "warn"
l7vsd_sorry_server = "warn"
l7vsd_real_server.balancing = "warn"
l7vsd_replication = "warn"
l7vsd_start_stop = "warn"
l7vsd_system = "warn"
l7vsd_system.memory = "warn"
l7vsd_system.socket = "warn"
l7vsd_system.signal = "warn"
l7vsd_environment = "warn"
l7vsd_environment.parameter = "warn"
l7vsd_logger = "warn"
l7vsd_parameter = "warn"
l7vsd_event = "warn"
l7vsd_schedule = "warn"
l7vsd_program = "warn"
l7vsd_protocol = "warn"
l7vsd_module = "warn"

# l7vsadm log file base name
l7vsadm_log_filename = "/var/log/l7vs/l7vsadm.log"
# l7vsadm rotate pattern
l7vsadm_rotation = "date"
# l7vsadm rotate max backup number
l7vsadm_max_backup_index = "10"
# l7vsadm rotate timing ( every month rotate )
l7vsadm_rotation_timing = "date"
# l7vsadm rotate timing ( day and time )
l7vsadm_rotation_timing_value = "0:01"

# l7vsadm log categories level
l7vsadm_parse = "warn"
l7vsadm_operate = "warn"
l7vsadm_communicate = "warn"
l7vsadm_config_result = "warn"
l7vsadm_common = "warn"
l7vsadm_logger = "warn"
l7vsadm_parameter = "warn"
l7vsadm_protocol = "warn"
l7vsadm_module = "warn"

# snmpagent log file base name
snmpagent_log_filename = "/var/log/l7vs/snmpagent.log"
# snmpagent log rotate pattern
snmpagent_rotation = "datesize"
# snmpagent log rotate max backup num
snmpagent_max_backup_index = "10"
# snmpagent max logfile size
snmpagent_max_filesize = "30M"
# snmpagent log rotate timing ( every week )
snmpagent_rotation_timing = "week"
# snmpagent log rotate timing ( a day of week and time )
snmpagent_rotation_timing_value = "wed 23:59"

# snmpagent log categories level
snmpagent_start_stop = "warn"
snmpagent_manager_receive = "warn"
snmpagent_manager_send = "warn"
snmpagent_l7vsd_receive = "warn"
snmpagent_l7vsd_send = "warn"
snmpagent_logger = "warn"
snmpagent_parameter = "warn"

#
# l7vsadm setting
#
[l7vsadm]
cmd_interval = 1
cmd_count = 10
con_interval = 1
con_count = 10

#
# l7vsd replication setting
#
[replication]
#ip_addr = "192.168.0.254"
#service_name = "40000"
#nic = "eth0"
#interval = 1000
#compulsorily_interval = 40
#cmponent_id_00 = "virtualservice"
#cmponent_size_00 = 64
#cmponent_id_01 = "chash"
#cmponent_size_01 = 1
#cmponent_id_02 = "sslid"
#cmponent_size_02 = 200

#
# snmpagent settings
#
[snmpagent]
#nic = "eth0"
#ip_addr = "127.0.0.1"
#port = 60162
#interval = 1000
#status = 0

>   余談ですが,l7vsd のログファイルは,logrotate で
> ローテーションするように【設定しないで】ください.
了解致しました。
ご警告ありがとうございます。

以上になります。





Ultramonkey-l7-users メーリングリストの案内
Back to archive index