Submit a ticketCall us

AnnouncementsChange Is Inevitable

Get valuable help when it comes to tracking and monitoring changes. SolarWinds® Server Configuration Monitor (SCM) is designed to help you: detect, track, and receive alerts when changes occur, correlate system performance against configuration changes, compare server and application configuration against custom baselines, and verify application and system changes.

Learn more.

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: 6,873 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