Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix "cylc cat-log" documentation. #2030

Merged
merged 2 commits into from
Oct 11, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions doc/cug.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1223,11 +1223,11 @@ \subsection{Job Submission: How Tasks Are Executed}
printed to the terminal:
\lstset{language=transcript}
\begin{lstlisting}
shell$ cylc log tut.oneoff.basic hello.1
shell$ cylc cat-log tut.oneoff.basic hello.1
\end{lstlisting}
This command can also print the suite log (and stdout and stderr for suites
in daemon mode) and task stdout and stderr logs (see
\lstinline=cylc log --help=).
\lstinline=cylc cat-log --help=).
A new job script can also be generated on the fly for inspection:
\lstset{language=transcript}
\begin{lstlisting}
Expand Down Expand Up @@ -1334,17 +1334,17 @@ \subsection{Locating Suite And Task Output}
Task job logs can be viewed by right-clicking on tasks in the gcylc
GUI (so long as the task proxy is live in the suite), manually
accessed from the log directory (of course), or printed to the terminal
with the \lstinline=cylc log= command:
with the \lstinline=cylc cat-log= command:
\lstset{language=transcript}
\begin{lstlisting}
# suite logs:
shell$ cylc log tut.oneoff.basic # suite event log
shell$ cylc log -o tut.oneoff.basic # suite stdout log
shell$ cylc log -e tut.oneoff.basic # suite stderr log
shell$ cylc cat-log tut.oneoff.basic # suite event log
shell$ cylc cat-log -o tut.oneoff.basic # suite stdout log
shell$ cylc cat-log -e tut.oneoff.basic # suite stderr log
# task logs:
shell$ cylc log tut.oneoff.basic hello.1 # task job script
shell$ cylc log -o tut.oneoff.basic hello.1 # task stdout log
shell$ cylc log -e tut.oneoff.basic hello.1 # task stderr log
shell$ cylc cat-log tut.oneoff.basic hello.1 # task job script
shell$ cylc cat-log -o tut.oneoff.basic hello.1 # task stdout log
shell$ cylc cat-log -e tut.oneoff.basic hello.1 # task stderr log
\end{lstlisting}
\begin{myitemize}
\item For a web-based interface to suite and task logs (and much more),
Expand Down Expand Up @@ -1533,7 +1533,7 @@ \subsection{Task Triggering}
\begin{lstlisting}
shell$ cat ~/cylc-run/tut.oneoff.goodbye/log/job/1/goodbye/01/job.out
# or
shell$ cylc log -o tut.oneoff.goodbye goodbye.1
shell$ cylc cat-log -o tut.oneoff.goodbye goodbye.1
JOB SCRIPT STARTING
cylc (scheduler - 2014-08-14T15:09:30+12): goodbye.1 started at 2014-08-14T15:09:30+12
cylc Suite and Task Identity:
Expand Down Expand Up @@ -5445,7 +5445,7 @@ \subsection{Task Job Scripts}
As shown in the Tutorial (\ref{RunningSuitesCLI}) job scripts are
saved to the suite run directory; the commands used to submit them are
printed to stdout by cylc in debug mode; and they can be printed with the
\lstinline=cylc log= command or new ones generated and printed with the
\lstinline=cylc cat-log= command or new ones generated and printed with the
\lstinline=cylc jobscript= command. Take a look at one to see exactly
how cylc wraps and runs your tasks.

Expand Down Expand Up @@ -5738,7 +5738,7 @@ \subsection{Task stdout And stderr Logs}
Some job submission methods, such as \lstinline=pbs=, redirect a job's stdout
and stderr streams to a separate cache area while the job is running. The
contents are only copied to the normal locations when the job completes. This
means that \lstinline=cylc log= or the gcylc GUI will be unable to find the
means that \lstinline=cylc cat-log= or the gcylc GUI will be unable to find the
job's stdout and stderr streams while the job is running. Some sites with these
job submission methods are known to provide commands for viewing and/or
tail-follow a job's stdout and stderr streams that are redirected to these
Expand Down