5 Configuring Logging C H A P T E R

5 Configuring Logging  C H A P T E R
CH A P T E R
5
Configuring Logging
This chapter describes how configure logging on the EAP-FAST module to assist with troubleshooting.
The following topics are covered in this chapter:
•
Overview of Logging, page 5-2
•
Configuring and Starting Logging, page 5-2
•
Disabling Logging and Flushing Internal Buffers, page 5-3
•
Locating Log Files, page 5-3
EAP-FAST for Windows Vista Administrator Guide
OL-16949-01
5-1
Chapter 5
Configuring Logging
Overview of Logging
Overview of Logging
To generate logs to assist with troubleshooting, the EAP-FAST module utilizes Windows Event Log
Service. The logs include information such as the type of event, the event location, the function that was
affected by the event, and the date and time of the event.
Configuring and Starting Logging
To access the administrator command prompt and to configure and start logging, perform the following
steps:
Step 1
Choose Start > All Programs > Accessories.
Step 2
Right-click Command Prompt and select Run as administrator.
Step 3
At the prompt, enter the following command to configure and start logging:
wevtutil sl Cisco-EAP-FAST/Debug /e:true /k:category_mask /l:log_level
Syntax Description
category_mask
Bitmask of categories of logging to be turned on. Valid values are as
follows:
•
0—logs all categories.
•
1—logs all messages not falling into the next two categories.
•
2—logs the flow of function entry and exit points with return code only
on Verbose log level.
•
4—logs packet dumps only on Verbose log level.
The default value is 0.
log_level
Level of logging to be turned on. Valid values are as follows:
•
0—all log levels.
•
1—critical.
•
2—error.
•
3—warning.
•
4—informational.
•
5—verbose.
The default value is 0.
Note
If you must shut down the device on which logging was running before logging finishes, logging resumes
after reboot. When logging is started either automatically or manually, however, the logs are cleared.
EAP-FAST for Windows Vista Administrator Guide
5-2
OL-16949-01
Chapter 5
Configuring Logging
Disabling Logging and Flushing Internal Buffers
Disabling Logging and Flushing Internal Buffers
After you have collected the information that you need, the following command stops logging and
flushes all internal buffers:
wevtutil sl Cisco-EAP-FAST/Debug /e:false
Note
You must enter this command before you can analyze the .etl file.
Locating Log Files
By default, an .etl file that you can use for analysis and debugging are created at this location:
C:\Windows\System32\Winevt\Logs\Cisco-EAP-FAST%4Debug.etl
If you would like to change this location, enter this command at the administator prompt:
wevtutil sl Cisco-EAP-FAST/Debug /lfn:“path_to_etl_log_file”
Note
Logging must not be running when you enter the command to change the path to the log file.
You can also change the path to the .etl file when you start logging. To start logging and specify the
location of the .etl file, enter this command at the administrator prompt:
wevtutil sl Cisco-EAP-FAST/Debug /e:true /lfn:“path_to_etl_log_file”
EAP-FAST for Windows Vista Administrator Guide
OL-16949-01
5-3
Chapter 5
Configuring Logging
Locating Log Files
EAP-FAST for Windows Vista Administrator Guide
5-4
OL-16949-01
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertising