2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6 <html xmlns="http://www.w3.org/1999/xhtml">
8 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
10 <title>Command log — salomeTools 5.0.0dev documentation</title>
12 <link rel="stylesheet" href="../_static/alabaster.css" type="text/css" />
13 <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
14 <link rel="stylesheet" href="/volatile/wambeke/SAT5/SAT5_S840_MATIX24/SAT/doc/src/custom.css" type="text/css" />
16 <script type="text/javascript">
17 var DOCUMENTATION_OPTIONS = {
20 COLLAPSE_INDEX: false,
25 <script type="text/javascript" src="../_static/jquery.js"></script>
26 <script type="text/javascript" src="../_static/underscore.js"></script>
27 <script type="text/javascript" src="../_static/doctools.js"></script>
28 <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
29 <link rel="top" title="salomeTools 5.0.0dev documentation" href="../index.html" />
30 <link rel="next" title="Command environ" href="environ.html" />
31 <link rel="prev" title="Command application" href="application.html" />
33 <link rel="stylesheet" href="../_static/custom.css" type="text/css" />
36 <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
42 <div class="document">
43 <div class="documentwrapper">
44 <div class="bodywrapper">
45 <div class="body" role="main">
47 <div class="section" id="command-log">
48 <h1>Command log<a class="headerlink" href="#command-log" title="Permalink to this headline">¶</a></h1>
49 <div class="section" id="description">
50 <h2>Description<a class="headerlink" href="#description" title="Permalink to this headline">¶</a></h2>
51 <p>The <strong>log</strong> command displays sat log in a web browser or in a terminal.</p>
53 <div class="section" id="usage">
54 <h2>Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
56 <li><p class="first">Show (in a web browser) the log of the commands corresponding to an application:</p>
57 <div class="highlight-python"><pre>sat log <application></pre>
60 <li><p class="first">Show the log for commands that do not use any application:</p>
61 <div class="highlight-python"><pre>sat log</pre>
64 <li><p class="first">The --terminal (or -t) display the log directly in the terminal, through a <a class="reference external" href="https://en.wikipedia.org/wiki/Command-line_interface">CLI</a> interactive menu:</p>
65 <div class="highlight-python"><pre>sat log <application> --terminal</pre>
68 <li><p class="first">The --last option displays only the last command:</p>
69 <div class="highlight-python"><pre>sat log <application> --last</pre>
72 <li><p class="first">To access the last compilation log in terminal mode, use --last_terminal option:</p>
73 <div class="highlight-python"><pre>sat log <application> --last_terminal</pre>
76 <li><p class="first">The --clean (int) option erases the n older log files and print the number of remaining log files:</p>
77 <div class="highlight-python"><pre>sat log <application> --clean 50</pre>
82 <div class="section" id="some-useful-configuration-pathes">
83 <h2>Some useful configuration pathes<a class="headerlink" href="#some-useful-configuration-pathes" title="Permalink to this headline">¶</a></h2>
85 <li><strong>USER</strong><ul>
86 <li><strong>browser</strong> : The browser used to show the log (by default <em>firefox</em>).</li>
87 <li><strong>log_dir</strong> : The directory used to store the log files.</li>
98 <div class="sphinxsidebar">
99 <div class="sphinxsidebarwrapper">
100 <p class="logo"><a href="../index.html">
101 <img class="logo" src="../_static/sat_v5.0.png" alt="Logo"/>
103 <h3><a href="../index.html">Table Of Contents</a></h3>
105 <li><a class="reference internal" href="#">Command log</a><ul>
106 <li><a class="reference internal" href="#description">Description</a></li>
107 <li><a class="reference internal" href="#usage">Usage</a></li>
108 <li><a class="reference internal" href="#some-useful-configuration-pathes">Some useful configuration pathes</a></li>
112 <div class="relations">
113 <h3>Related Topics</h3>
115 <li><a href="../index.html">Documentation overview</a><ul>
116 <li>Previous: <a href="application.html" title="previous chapter">Command application</a></li>
117 <li>Next: <a href="environ.html" title="next chapter">Command environ</a></li>
122 <ul class="this-page-menu">
123 <li><a href="../_sources/commands/log.txt"
124 rel="nofollow">Show Source</a></li>
126 <div id="searchbox" style="display: none">
127 <h3>Quick search</h3>
128 <form class="search" action="../search.html" method="get">
129 <input type="text" name="q" />
130 <input type="submit" value="Go" />
131 <input type="hidden" name="check_keywords" value="yes" />
132 <input type="hidden" name="area" value="default" />
134 <p class="searchtip" style="font-size: 90%">
135 Enter search terms or a module, class or function name.
138 <script type="text/javascript">$('#searchbox').show(0);</script>
141 <div class="clearer"></div>
147 Powered by <a href="http://sphinx-doc.org/">Sphinx 1.1.3</a>
148 & <a href="https://github.com/bitprophet/alabaster">Alabaster </a>
151 <a href="../_sources/commands/log.txt"
152 rel="nofollow">Page source</a>