summaryrefslogtreecommitdiff
path: root/fml/doc/ja/tutorial/operations/log.sgml
blob: 14929366af2002b15a44c9899f7391198b27b0f1 (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
<!--
   $FML: log.sgml,v 1.1 2003/11/29 12:51:36 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>
�̤Υ��ޥ�ɤ��ȼ��� CGI �ʤɤ��� &fml8; CUI ��ƤӤ��������򤵤�����
���� STDERR �ʤɤǥ���������Ȥꤿ�����Ȥ�����ޤ���
</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>


</chapter>