summaryrefslogtreecommitdiff
path: root/fml/doc/ja/tutorial/operations/log.sgml
blob: 44de6b42dcfc1532de25678d70ab14f39a5e0d58 (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
<!-- -*- mode:text coding:euc-jp -*-
   $FML: log.sgml,v 1.3 2006/01/16 10:24:27 fukachan Exp $
-->


<chapter id="operations.log">
	<title>
	�������
	</title>


<sect1 id="operations.log.see">
	<title>
	�����򸫤�
	</title>

<para>
<screen>
% makefml log �ͣ�̾
% fml     �ͣ�̾ log
</screen>
�ǡ��Ƕ�Υ���(�ǥե���ȤǤ� 30 ��ʬ)��ɽ������ޤ���
</para>

<para>
GUI ���������򸫤뤳�Ȥ���ǽ�Ǥ�(΢�Ǥ� log ���ޥ�ɤ�¹Ԥ��Ƥ���)��
</para>

</sect1>


<sect1 id="operations.log.computeroutput">
	<title>
	�������������Υ�����ɽ������
	</title>

<para>
&fml8; �ʳ����̤Υ��ޥ�ɤ��ȼ��� CGI �ʤɤ��� 
&fml8; CUI ��ƤӤ��������򤵤���������
STDERR �ʤɤ� &fml8; ����Υ���������Ȥꤿ�����Ȥ�����ޤ���
</para>

<para>
�������ä����ϡ�
<screen>
% makefml --log-computer-output ���ޥ�� �ͣ�̾
% fml --log-computer-output     �ͣ�̾ ���ޥ��
</screen>
�Ȥ���ȡ����ޥ�ɤη�̤�ɸ�����( STDOUT )�ء�
������ STDERR �ؽ��Ϥ���ޤ���
</para>

<para>
���Ȥ��м��Τ褦�ˤʤ�ޤ���
<screen>
% fml --log-computer-output elena@fml.org list
rudo@nuinui.net
1070109341  info lock channel=recipient_map_modify
1070109342  info unlock channel=recipient_map_modify
</screen>
������ʥǥե���ȡˤǤϡ�
�ֻ���(unix time)�������Υ�٥�(info,warning,error�ʤ�)����å�������
�ȤʤäƤ��ޤ���
</para>

<para>
���ޥ�ɥ饤�󥪥ץ���� --log-computer-output �ϡ�
config.cf �ʤɤ�
<screen>
use_log_computer_output = yes
</screen>
�Ȼ��ꤹ�뤳�ȤǤ�Ʊ�����̤Ȥʤ�ޤ���
</para>

<para>
�������ʤ��顢�����ѿ��� yes �ˤ���ȡ�makefml �� fml �����Ǥʤ�������
�䥳�ޥ�ɥ᡼��Υץ������� STDERR �˥�������Ϥ��Ƥ��ޤ��ޤ��Τ���
�դ��Ƥ���������
</para>

<para>
��å������Υ��塼���󥰤�������¤����ϥե����ޥåȤϡ����� perl
module �Τʤ��˲�������Ƥ���ޤ������Υ⥸�塼��(�ǥե���Ȥ� 
FML::Log::Print::Simple)�� config.cf �� log_computer_output_engine ��
�ѿ���Ȥ����ѹ���ǽ�Ǥ������Ϥ����ؤ��������ϡ���ʬ�ѤΥ⥸�塼���
��ꡢ����򡢤����ѿ��˻��ꤷ�Ƥ����������⥸�塼���
FML::Log::Print::Simple �򻲹ͤˡ�hack ���ƤߤƤ�������:)
</para>

</sect1>


<sect1 id="operations.log.recipes">
	<title>
	�쥷�ԡ�s
	</title>

&sect.op.log.recipes;

</sect1>


</chapter>