summaryrefslogtreecommitdiff
path: root/fml/etc/src
diff options
context:
space:
mode:
authorfukachan <fukachan>2004-04-17 13:08:50 +0000
committerfukachan <fukachan>2004-04-17 13:08:50 +0000
commitf0adb4094df2bfa11aa07c8bf3d8349790dc6fac (patch)
treea510b1c220c92df5076e164db38407b4b33a97ed /fml/etc/src
parent75a535026971036b46294e3fa2842685790daf36 (diff)
downloadfml8-f0adb4094df2bfa11aa07c8bf3d8349790dc6fac.tar.gz
fml8-f0adb4094df2bfa11aa07c8bf3d8349790dc6fac.tar.bz2
fml8-f0adb4094df2bfa11aa07c8bf3d8349790dc6fac.zip
define $log_ratate variables
Diffstat (limited to 'fml/etc/src')
-rw-r--r--fml/etc/src/config.cf.en/log.cf40
-rw-r--r--fml/etc/src/config.cf.ja/log.cf42
2 files changed, 82 insertions, 0 deletions
diff --git a/fml/etc/src/config.cf.en/log.cf b/fml/etc/src/config.cf.en/log.cf
index 71f43aa9..fbd7a493 100644
--- a/fml/etc/src/config.cf.en/log.cf
+++ b/fml/etc/src/config.cf.en/log.cf
@@ -38,6 +38,46 @@ log_format_type = process[pid]
log_dir = $var_dir/log
+=head2 log rotation
+
+
+# Descriptions: rotate log files or not.
+# History: no if $LOGFILE_NEWSYSLOG_LIMIT == 0, yes if > 0.
+# Value: yes | no
+# Examples: no
+use_log_rotate = no
+
+
+# Descriptions: log rotation policy.
+# History: none
+# Value: size | interval
+# Examples: size
+log_rotate_policy = size
+
+
+# Descriptions: rotate log if the size is over this size.
+# History: $LOGFILE_NEWSYSLOG_LIMIT value.
+# Value: NUM
+# Examples: 300000 (300K bytes)
+log_rotate_size = 300000
+
+
+# Descriptions: The interval field specifies the time separation
+# between trimming of the logfile.
+# History: none
+# Value: NUM
+# Examples: 86400 (1 day)
+log_rotate_interval = 86400
+
+
+# Descriptions: number of archive files to be kept besides the log
+# file itself.
+# History: none
+# Value: NUM
+# Examples: 4
+log_rotate_num_backlog = 4
+
+
=head2 charset
# Descriptions:
diff --git a/fml/etc/src/config.cf.ja/log.cf b/fml/etc/src/config.cf.ja/log.cf
index af0ea94e..afa067e9 100644
--- a/fml/etc/src/config.cf.ja/log.cf
+++ b/fml/etc/src/config.cf.ja/log.cf
@@ -40,6 +40,48 @@ log_format_type = process[pid]
log_dir = $var_dir/log
+=head2 log rotation
+
+
+# Descriptions: ログファイルローテションを行なうか否か
+# History: $LOGFILE_NEWSYSLOG_LIMIT が 0 なら no、0 でないなら yes
+# Value: yes | no
+# Examples: no
+use_log_rotate = no
+
+
+# Descriptions: ログローテションのポリシー。
+# サイズが一定値を越えたら行なうのか?(デフォルト)
+# それても一定時間おきに行なうのか?
+# History: none
+# Value: size | interval
+# Examples: size
+log_rotate_policy = size
+
+
+# Descriptions: ログファイルのサイズが、
+# この大きさを越えたらローテーションを行なう。
+# History: $LOGFILE_NEWSYSLOG_LIMIT の値
+# Value: NUM
+# Examples: 300000 (300K bytes)
+log_rotate_size = 300000
+
+
+# Descriptions: ログファイルローテーションを行なう間隔。
+# History: none
+# Value: NUM
+# Examples: 86400 (1 day)
+log_rotate_interval = 86400
+
+
+# Descriptions: log.0 log.1 などの .数字 部分は最大いくつ?
+# 大きい数字にすれば、より多く保存することになる
+# History: none
+# Value: NUM
+# Examples: 4
+log_rotate_num_backlog = 4
+
+
=head2 charset
# Descriptions: