Submit a ticketCall us

whitepaperYour VM Perplexities Called, and They Need You to Read This.

Virtualization can give you enormous flexibility with future workloads and can be a key enabler for other areas, like cloud computing and disaster recovery. So, how can you get a handle on the performance challenges in your virtual environment and manage deployments without erasing the potential upside? Learn the four key areas you need to be focusing on to help deliver a healthy and well-performing data center.

Get your free white paper.

Home > Success Center > Network Performance Monitor (NPM) > NPM - Knowledgebase Articles > Delete or move SolarWinds log files

Delete or move SolarWinds log files

Created by Justin Wyllys, last modified by Su-Lyn Rosenberry-ret on Jan 09, 2017

Views: 7,884 Votes: 6 Revisions: 9

Overview

This article describes how to delete or move SolarWinds log files in your system if you experience drive space issues. This article also demonstrates how to automate log management tasks.

Environment

All Orion Core products and versions

Resolution

Delete logs

  1. Launch the command prompt as administrator
  2. Run either or both of the following commands to delete log files.
    To remove current logs only:
    del /F /Q /S C:\programdata\solarwinds\*.log
    To remove old logs only:
    del /F /Q /S C:\programdata\solarwinds\*.log.*

Move logs

  1. Launch the command prompt as administrator
  2. Run either or both of the following commands to move log files.
    To move current logs only:
    robocopy C:\ProgramData\Solarwinds C:\destination_folder *.log /S /MOV
    To move old logs only:
    robocopy C:\ProgramData\Solarwinds C:\destination_folder *.log.* /S /MOV

Automate log management tasks

  1. Open the task scheduler as an administrator.
  2. Create a new Basic Task.
  3. Enter the name of the task, and create a schedule.
  4. Choose Start a program, and browse for C:\Windows\System32\cmd.exe.
  5. In the Add arguments field, enter one of the commands from Delete logs or Move logs section.
  6. Complete the wizard.
Last modified

Tags

Classifications

Public