Showing posts with label newsyslog. Show all posts
Showing posts with label newsyslog. Show all posts

2011-01-24

FreeBSD - How to test newsyslog for systax error

Platform :
FreeBSD

Purpose :
Syntax checking after creating a new logrotate in "newsyslog"

Command :
newsyslog


Installation :
The "newsyslog" log rotation program comes with the base installation.

Useful switches :
-n == DO NOT actually do the logrotate. Instead, show what will be perform
-vv == verbose on what newsyslog is doing

Example :