Log File Mangement

Created: 2012-04-20 08:09:59
Modified: 2017-06-22 11:35:51
Tags: SimpleSync

General - and duplicate

Log File Mangement You may schedule log file cleanup in your automated sync batch. The primary shell.exe program includes an option to clean-up old log files by deleting all but the most recent logs.

Command Line cleanup (may be scheduled) Execute the following command:

shell –cleanlogs [–days x] [Connection Name]

By default, CleanLogs runs against ALL connections and 30 days worth of logs will be saved. The rest will be deleted.

Optional parameters:

–days Default is to keep 30 days worth of logs. You may use the –days parameter to increase or decrease the number of days worth of logs to keep.

Connection Name Default, if you do not specify a connection name, will clean ALL connections logs. Specify a connection name to run clean logs against an individual connection.

You may add the Shell -cleanlogs command to your automated script to regularly run and keep the number of log files limited as desired.

To Delete Log Files Manually

Within the SimpleSync Admin tool, you may right click a log to delete it.

Within the SimpleSync Admin tool, you may right click a connection and select Clear Logs to delete all logs for that connection.

From File Explorer, logs may be deleted. Log files are located in \SimpleSync-v4\Connections\YourConnectionName\Logs.

Knowledgebase

Products
  1. UnitySync - GalSync
  1. Directify - Self Service
  1. emPass - Password Sync