Smarts: How do you move the server log file without restarting the server
search cancel

Smarts: How do you move the server log file without restarting the server

book

Article ID: 304254

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Symptoms:


How do you move the server log file without restarting the server

Print statements in ASL scripting are filling the Smarts log file
Smarts log file is growing too large

Environment

VMware Smart Assurance - SMARTS

Resolution

Use the following commands to signal the server to roll the log file (see Note statement):

cd BASEDIR/smarts/bin
dmctl -s <server> exec roll_log



Additional Information

"Rolling" the log basically closes the "old" log file, renames it and starts a new log file.