2 .. include:: ../../rst_prolog.rst
9 The **log** command displays sat log in a web browser or in a terminal.
13 * Show (in a web browser) the log of the commands corresponding to an application: ::
17 * Show the log for commands that do not use any application: ::
21 * The --terminal (or -t) display the log directly in the terminal, through a CLI_ interactive menu: ::
23 sat log <application> --terminal
25 * The --last option displays only the last command: ::
27 sat log <application> --last
29 * To access the last compilation log in terminal mode, use --last_compile option: ::
31 sat log <application> --last_compile
33 * The --clean (int) option erases the n older log files and print the number of remaining log files: ::
35 sat log <application> --clean 50
39 Some useful configuration paths
40 =================================
44 * **browser** : The browser used to show the log (by default *firefox*).
45 * **log_dir** : The directory used to store the log files.