1. Technology
You can opt-out at any time. Please refer to our privacy policy for contact information.

Discuss in my forum

EVMS User Guide

By


   EVMS User Guide
   Prev    Chapter 3. The EVMS log file and error data collection    Next

3.3. Specifying the logging levels

By default, when any of the EVMS interfaces is opened, the Engine logs the Default level of messages into the /var/log/evmsEngine.log 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 -d 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 (everything ):


   

 GUI: evmsgui -d everything 


   

 Ncurses: evmsn -d everything 


   

 CLI: evms -d everything 


       NOTE
        

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.

The EVMS GUI lets you change the logging level during an Engine session. To do so, follow these steps:

  • Select Settings ->Log Level ->Engine .

  • Click the Level you want.

The CLI command, probe , opens and closes the Engine, which causes a new log to start. The log that existed before the probe command was issued is renamed /var/log/evmsEngine.1.log and the new log is named /var/log/evmsEngine.log .

If you will be frequently using a different log level than the default, you can specify the default logging level in /etc/evms.conf rather than having to use the -d 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 -d option during the command invocation overrides the setting in /etc/evms.conf .


   Prev    Home    Next
   Log file logging levels    Up    Viewing compatibility volumes after migrating


* License

* EVMS User Guide Index

  1. About.com
  2. Technology
  3. Linux

©2014 About.com. All rights reserved.