Show TOC

Procedure documentationDownloading Logs and Traces Locate this document in the navigation structure

 

In any predefined or custom view, you can download all log and trace records to a Comma Separated Value (CSV) formatted file. For example, you can view log/trace records in a human-readable format on a remote SAP NetWeaver system.

The records are only extracted first. Then, you can download them to a CSV formatted file and save it to the file system.

When extracting log files, if the maximum size is exceeded, you can download the extracted records. You can then continue with the extraction of the next portion of log records.

Procedure

Open SAP NetWeaver Administrator and choose   Troubleshooting   Logs and Traces   Log Viewer  .

1. Downloading Content
  1. Open the view whose logs you want to extract and download.

  2. Choose    Log Files   Download Content .

  3. From the dialog box, choose which columns should be visible and then choose Download.

    A counter processes the number of log records that are currently extracted.

    Note Note

    The maximum number of log records is 60,000.

    End of the note.
  4. Download the current log records extraction (estimated in megabytes) and save the file in your file system.

Reading the Downloaded Content
  1. Open the file using a spreadsheet application.

    Note Note

    The steps above describe reading downloaded content using Microsoft Office Excel.

    End of the note.
  2. Select column A.

  3. From the Data menu, choose Text to Columns.

  4. In the Convert Text to Columns Wizard - Step 1 of 3 dialog box, select the Delimited indicator and choose Next.

  5. In the Convert Text to Columns Wizard - Step 2 of 3 dialog box, select the following indicators: Tab, Comma, and Treat consecutive delimiters as one.

  6. From the Text qualifier dropdown box, select double quotation marks (") and then choose Next.

  7. In the Convert Text to Columns Wizard - Step 3 of 3 dialog box, select the General indicator and choose Finish.

Downloading Log Files
  1. Open the view whose logs you want to extract and download.

  2. Choose    Log Files   Download Files  .

  3. Select the files you need and choose Download.

  4. Save the file in your file system.

  5. Optional: You can then open a log file from your file system by choosing    Log Files   Open External Files  . Browse to the log file you want to see, and in the next field, enter the name of the name.

    Note Note

    For the second field, you are not allowed to use any of the following characters: \, /, :, *, ?, ", <, >, |. You need to only enter the file name. For example:

    Field 1: C:\temp\NwmSvc.log

    Field 2: NwmSvc.log

    End of the note.

More Information

Log Types and Formats