Salome HOME
add doc/build for EZ direct html or pdf
[tools/sat.git] / doc / build / html / _sources / commands / log.txt
1
2 .. include:: ../../rst_prolog.rst
3
4 Command log
5 ****************
6
7 Description
8 ===========
9 The **log** command displays sat log in a web browser or in a terminal.
10
11 Usage
12 =====
13 * Show (in a web browser) the log of the commands corresponding to an application: ::
14
15     sat log <application>
16
17 * Show the log for commands that do not use any application: ::
18
19     sat log
20     
21 * The --terminal (or -t) display the log directly in the terminal, through a CLI_ interactive menu: ::
22
23         sat log <application> --terminal
24
25 * The --last option displays only the last command: ::
26
27     sat log <application> --last
28
29 * To access the last compilation log in terminal mode, use --last_terminal option: ::
30
31     sat log <application> --last_terminal
32
33 * The --clean (int) option erases the n older log files and print the number of remaining log files: ::
34
35     sat log <application> --clean 50
36
37
38
39 Some useful configuration pathes
40 =================================
41
42 * **USER**
43
44   * **browser** : The browser used to show the log (by default *firefox*).
45   * **log_dir** : The directory used to store the log files.
46