310 lines
5.0 KiB
HTML
310 lines
5.0 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>Specifying the logging levels</TITLE
|
|
><META
|
|
NAME="GENERATOR"
|
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
|
|
REL="HOME"
|
|
TITLE="EVMS User Guide"
|
|
HREF="index.html"><LINK
|
|
REL="UP"
|
|
TITLE="The EVMS log file and error data collection"
|
|
HREF="debuglevels.html"><LINK
|
|
REL="PREVIOUS"
|
|
TITLE="Log file logging levels"
|
|
HREF="loglevels.html"><LINK
|
|
REL="NEXT"
|
|
TITLE="Viewing compatibility volumes after migrating"
|
|
HREF="evmsmigrate.html"></HEAD
|
|
><BODY
|
|
CLASS="sect1"
|
|
BGCOLOR="#FFFFFF"
|
|
TEXT="#000000"
|
|
LINK="#0000FF"
|
|
VLINK="#840084"
|
|
ALINK="#0000FF"
|
|
><DIV
|
|
CLASS="NAVHEADER"
|
|
><TABLE
|
|
SUMMARY="Header navigation table"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TH
|
|
COLSPAN="3"
|
|
ALIGN="center"
|
|
>EVMS User Guide</TH
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="left"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="loglevels.html"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="80%"
|
|
ALIGN="center"
|
|
VALIGN="bottom"
|
|
>Chapter 3. The EVMS log file and error data collection</TD
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="right"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="evmsmigrate.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"></DIV
|
|
><DIV
|
|
CLASS="sect1"
|
|
><H1
|
|
CLASS="sect1"
|
|
><A
|
|
NAME="specifylevels"
|
|
></A
|
|
>3.3. Specifying the logging levels</H1
|
|
><P
|
|
>By default, when any of the EVMS interfaces is opened, the Engine logs the <TT
|
|
CLASS="filename"
|
|
>Default</TT
|
|
> level of messages into the <TT
|
|
CLASS="filename"
|
|
>/var/log/evmsEngine.log</TT
|
|
> file. However, if your system is having problems and you want to see more of what is happening, you can change the logging level to be higher; if you want fewer logging messages, you can change the logging level to be lower. To change the logging level, specify the <B
|
|
CLASS="command"
|
|
>-d</B
|
|
> parameter and the log level on the interface open call. The following examples show how to open the various interfaces with the highest logging level (<TT
|
|
CLASS="filename"
|
|
>everything</TT
|
|
>):</P
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="programlisting"
|
|
>GUI: evmsgui -d everything</PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="programlisting"
|
|
>Ncurses: evmsn -d everything</PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="programlisting"
|
|
>CLI: evms -d everything</PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><DIV
|
|
CLASS="note"
|
|
><P
|
|
></P
|
|
><TABLE
|
|
CLASS="note"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
><TR
|
|
><TD
|
|
WIDTH="25"
|
|
ALIGN="CENTER"
|
|
VALIGN="TOP"
|
|
><IMG
|
|
SRC="../images/note.gif"
|
|
HSPACE="5"
|
|
ALT="Note"></TD
|
|
><TH
|
|
ALIGN="LEFT"
|
|
VALIGN="CENTER"
|
|
><B
|
|
>NOTE</B
|
|
></TH
|
|
></TR
|
|
><TR
|
|
><TD
|
|
> </TD
|
|
><TD
|
|
ALIGN="LEFT"
|
|
VALIGN="TOP"
|
|
><P
|
|
>If you use the EVMS mailing list for help with a problem, providing to us
|
|
the log file that is created when you open one of the interfaces (as shown
|
|
in the previous commands) makes it easier for us to help you.
|
|
</P
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
><P
|
|
>The EVMS GUI lets you change the logging level during an Engine session. To do so, follow these steps:
|
|
|
|
<P
|
|
></P
|
|
><OL
|
|
TYPE="1"
|
|
><LI
|
|
><P
|
|
>Select <SPAN
|
|
CLASS="guimenu"
|
|
>Settings</SPAN
|
|
>-><SPAN
|
|
CLASS="guimenuitem"
|
|
>Log Level</SPAN
|
|
>-><SPAN
|
|
CLASS="guimenuitem"
|
|
>Engine</SPAN
|
|
>.
|
|
</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Click the <SPAN
|
|
CLASS="guibutton"
|
|
>Level</SPAN
|
|
> you want.
|
|
</P
|
|
></LI
|
|
></OL
|
|
></P
|
|
><P
|
|
>The CLI command, <B
|
|
CLASS="command"
|
|
>probe</B
|
|
>, opens and closes the Engine, which causes a new log to start. The log that existed before the <B
|
|
CLASS="command"
|
|
>probe</B
|
|
> command was issued is renamed <TT
|
|
CLASS="filename"
|
|
>/var/log/evmsEngine.1.log</TT
|
|
> and the new log is named <TT
|
|
CLASS="filename"
|
|
>/var/log/evmsEngine.log</TT
|
|
>.</P
|
|
><P
|
|
> If you will be frequently using a different log level than the default,
|
|
you can specify the default logging level in
|
|
<TT
|
|
CLASS="filename"
|
|
>/etc/evms.conf</TT
|
|
> rather than
|
|
having to use the <B
|
|
CLASS="command"
|
|
>-d</B
|
|
> option when starting the user interface.
|
|
The "debug_level" option in the "engine" section sets the default
|
|
logging level for when the Engine is opened.
|
|
Using the <B
|
|
CLASS="command"
|
|
>-d</B
|
|
> option
|
|
during the command invocation overrides the setting in
|
|
<TT
|
|
CLASS="filename"
|
|
>/etc/evms.conf</TT
|
|
>.
|
|
</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="NAVFOOTER"
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"><TABLE
|
|
SUMMARY="Footer navigation table"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="loglevels.html"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="index.html"
|
|
ACCESSKEY="H"
|
|
>Home</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="evmsmigrate.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
>Log file logging levels</TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="debuglevels.html"
|
|
ACCESSKEY="U"
|
|
>Up</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
>Viewing compatibility volumes after migrating</TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
> |