enable-writelogs.pl

Enable logging via program

By default, Virtualmin configures Apache to log to files in each virtual server's home directory, under the logs sub-directory. However, if the domain owner deletes that directory, Apache will be unable to log and will fail to start! To avoid this, Virtualmin can turn on logging via a wrapper script which ignores this problem, which contains the damage. The only cost is a little more memory used by the wrapper programs.

The domains that it operates on are specified either using the --domain flag (which can appear multiple times), or --all-domains to turn off logging via script for all of them.

Command Line Arguments

Enables logging via program for one or more domains specified on the
command line.

usage: enable-writelogs.pl [--domain name] | [--all-domains]
 
virtualmin_api_enable_writelogs.txt (216 views) · Last modified: 2008/10/16 19:39
 
Recent changes RSS feed

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.