blob: 828d28304deafc1ae92a0a9528579064e9ee18a2 (
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
|
=head1 logging
# Descriptions: user logging function
# History: enabled by default
# Value: YES_OR_NO
# Examples:
use_log = yes
# Descriptions: log file.
# You can use % format strftime(3) can recognize
# (e.g. log.%C%y%m%d).
# History: $LOGFILE
# Value: FILE
# Examples:
log_file = $ml_home_dir/log
# Descriptions: logging type
# History: fml 8.0 new
# Value: SELECT ( file syslog )
# Examples:
log_type = file
# Descriptions: log message format
# History:
# Value: STR
# fml4_compatible
# process[pid]
# process:time.pid ?
# 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: DIR
# 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_OR_NO
# Examples: no
use_log_rotate = no
# Descriptions: log rotation policy.
# History: none
# Value: SELECT ( 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_limit = 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: 7
log_rotate_archive_file_total = 7
=head2 charset
# Descriptions:
# History:
# Value: SELECT ( ja en )
# Examples:
log_file_default_charset = $log_file_charset_en
# Descriptions:
# History:
# Value: SELECT ( euc-jp us-ascii )
# Examples:
log_file_charset_ja = euc-jp
# Descriptions:
# History:
# Value: SELECT ( euc-jp us-ascii )
# 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: FILE
# 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_OR_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
=head2 syslog
# Descriptions: specify host name if remote syslog host is used.
# History: none
# Value: STR
# Examples: log.example.co.jp
log_syslog_servers =
# Descriptions: string prepended to every message.
# History: none
# Value: STR
# Examples:
log_syslog_ident = fml/$program_name
# Descriptions: see syslog(3)
# History: none
# Value: MIX (pid ndelay nowait)
# Examples:
log_syslog_options = pid
# Descriptions: see syslog(3)
# History: none
# Value: SELECT (mail ...)
# Examples: mail
log_syslog_facility = mail
# Descriptions: see syslog(3)
# History: none
# Value: SELECT (info ...)
# Examples: info
log_syslog_priority = info
|