Merge pull request #72 from eadrkir/master
[deliverable/titan.core.git] / repgen / ttcn3_logformat.1
CommitLineData
970ed795
EL
1.TH ttcn3_logformat 1 "October 2014" "Ericsson Telecom AB" "TTCN-3 Tools"
2.SH NAME
3ttcn3_logformat \- TTCN-3 log file formatter utility
4.SH SYNOPSIS
5.B ttcn3_logformat
6.RB "[\| " \-i
7.IR n " \|]"
8.RB "[\| " \-o
9.IR outfile " \|]"
10.RB "[\| " \-s
11\|] [\|
12.IR file.log " \|]"
3f84031e 13.RB "[\| " \-n " \|]"
970ed795
EL
14.br
15or
16.br
17.B ttcn3_logformat
18.B \-v
19.SH DESCRIPTION
20This manual page is a quick reference for the TTCN-3 logformat utility of
21the TTCN-3 Test Executor. The
22.B ttcn3_logformat
23utility, which can be found in
24.I $TTCN3_DIR/bin,
25reads the unformatted log file generated by test executor from its standard
26input. It can split up the log into several files based on the lines that are
27automatically logged at the beginning or end of each test case. Furthermore,
28.B ttcn3_logformat
29formats the sent and received messages in the log file. The structured values
30are indented and each field is put into a new line according to the braces and
31commas.
32.SH OPTIONS
33Available command line switches are:
34.TP 10
35.BI \-i " n"
36Sets the depth of each indentation level to
37.I n
38characters. The default value is 4. If the sent or received PDU is too complex
39and has too deeply nested fields, this number can be decreased to get more
40readable output.
41.TP
42.BI \-o " outfile"
43Places the output into file
44.IR "outfile" ". If the"
45.I \-s
46flag is also set, only those parts of the log files will be written into this
47file that were logged outside the test cases (i.e. in control part or on PTCs).
48If this option is omitted, the formatted log will be printed to standard output.
49.TP
50.B \-s
51If this option is set, the entries that were recorded during the execution of a
52particular test case will be saved in a separate file in
53.I ttcn3_logformat
54working directory. The name of this file will be identical to the name of the
55test case. If the same test case is executed several times after each other, the
56results of repeated test runs will be collected after each other. If the output
57file contained some data before
58.I ttcn3_logformat
59was started (e.g. the results of previous test run), the output file will be
60emptied and the old logs will be destroyed.
61.br
62.I ttcn3_logformat
63recognizes any types of timestamps that can be set in the
64.B [LOGGING]
65section of the configuration file.
66.sp 1
67.B WARNING!
68This option is useless when formatting the log files of PTCs, because these logs
69do not contain the name of the testcase that the PTC belongs to.
70.TP
3f84031e 71.B \-n
72If this option is set, newline and tab characters are not modified, they are
73printed as \\n and \\t
74.TP
970ed795
EL
75.B \-v
76Prints
77.I version
78and license key information and exits.
79.SH ENVIRONMENT VARIABLES
80.TP
81.SM
82TTCN3_DIR
83The installation directory where the uncompressed binary package of
84TTCN-3 Test Executor can be found.
85.TP
86.SM
87TTCN3_LICENSE_FILE
88It shall point to the
89.I file
90.RB ( NB:
91.I not
92to its directory) that contains the personalized license key for the
93current user or host.
94.SH BUGS
95None known at this time
96.LP
97For trouble reporting use the tool
98.BR "MTTSMS" "."
99.br
100For TR writers guide please visit the web page:
101.br
102.I http://ttcn.ericsson.se.
103.SH SEE ALSO
104ttcn3_logfilter(1), ttcn3_logmerge(1)
105.LP
106The
107.B User Documentation for the TTCN-3
108.B Test Executor.
109.SH AUTHOR
110This manpage is written by Csaba Koppany, Ericsson Telecom AB
111.br
d44e3c4f 112Copyright (c) 2000-2016 Ericsson Telecom AB
970ed795
EL
113.br
114All rights reserved. This program and the accompanying materials
115are made available under the terms of the Eclipse Public License v1.0
116which accompanies this distribution, and is available at
117.br
118http://www.eclipse.org/legal/epl-v10.html
This page took 0.043515 seconds and 5 git commands to generate.