summaryrefslogtreecommitdiff
path: root/fml/etc/src/config.cf.en/log.cf
blob: fbd7a493e294540258edd0a5c05a9ad3419239a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
=head1	logging

# Descriptions: user logging function
#      History: enabled by default
#        Value: yes / no
#     Examples:
use_log		=	yes

# Descriptions: log file
#      History: $LOGFILE
#        Value: filename
#     Examples:
log_file	=	$ml_home_dir/log

# Descriptions: logging type
#      History: fml 8.0 new
#        Value: file / syslog
#     Examples:
log_type	=	file

# Descriptions: log message format
#      History:
#        Value: fml4_compatible
#               process[pid]
#               process:time.pid ?
#     Examples: * fml4_compatible example
#               01/01/28 00:53:57 IPv6 is ready (fukachan@fml.org)
#               * process[pid] 
#               02/07/31 00:56:19 loader[29507] try mta=127.0.0.1:25 by IPv6
#               * process:time.pid ?
#               02/07/31 00:56:19 loader: 1028074827.29507 try ...
log_format_type	=	process[pid]

# Descriptions: log dir
#      History:
#        Value: filename
#     Examples:
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:
#      History:
#        Value:
#     Examples:
log_file_default_charset   =       $log_file_charset_en

# Descriptions:
#      History:
#        Value:
#     Examples:
log_file_charset_ja        =       euc-jp

# Descriptions:
#      History:
#        Value:
#     Examples:
log_file_charset_en        =       us-ascii


=head2 domain local


# Descriptions: domin local log file.
#               used in admin/*.cgi e.g. when ml_name unspecified.
#      History: none
#        Value: filename
#     Examples: /var/spool/ml/@log@
domain_local_log_file	=	$domain_local_dir/@log@



=head2	makefml/fml outputs machine friendly log


# Descriptions: if yes, makefml/fml outputs machine friendly log.
#               --coputer-output option implies "use_log_computer_output = yes".
#      History: none
#        Value: yes | no
#     Examples: no
use_log_computer_output	=	no


# Descriptions: specify perl module for output engine.
#      History: none
#        Value: CLASS
#     Examples: FML::Log::Print::Simple
log_computer_output_engine	=	FML::Log::Print::Simple