Home > Veritas Storage Foundation™ File System Manual Pages
VXLOGCFG (1) |
User Commands |
The vxlogcfg utility registers and unregisters the product log configurations during installation and uninstallation.
Specify the product log configuration you wish to register or unregister. Use fully-qualified path names for all directory paths. If a directory name contains spaces, use quotes around the path name for that directory (for example, "Program Files").
LogDirectory - Provides absolute path to a directory. No default value.
DebugLevel - Valid values are 0-6. The default value is 0, no debug messages.
DiagnosticLevel - Valid values are 0-6. The default value is 0, no diagnostic messages
DynaReloadInSec - Dynamic reloading of Debug and Diagnostic settings. Integers 0-60 reload after 60 seconds. Integers greater than 60 reload at the seconds specified.
LogToStdout - Valid values are true, false. The default value is false.
LogToStderr - Valid values are true, false. The default value is false.
LogToOslog - Valid values are true, false. The default value is false
RolloverMode - Valid values are FileSize, LocalTime, Periodic, None, FileSize | LocalTime, FileSize | Periodic. The default value is None.
MaxLogFileSizeKB - Valid values are 1-4294967295 KB. The default value is 10240 (10 MB)
RolloverPeriodInSeconds - Valid values are 1-2147483648. The default value is 43200 (12 hours)
RolloverAtLocalTime - Valid values are 00:00-23:59. The default value is 00:00 (Midnight local time)
NumberOfLogFiles - Valid values are 1-4294967295. The default value is 4294967295.
LogRecycle - Valid values are true, false. The default value is false. If true, number of log files will not exceed NumberOfLogFiles.
OIDNames - Names assigned to originator separated by a space.
L10nLib - Absolute path and filename of external localization library.
L10nResource - Resource name defined by the product.
L10nResourceDir - Resource directory defined by the product.
LogFilePermissions - Octal number defined by Unix file permissions. Default value is 660 (read/write permission for file owner).
SyslogIdent - Valid values are any string up to 80 characters long. Default value is VERITAS.
SyslogOpt - Valid values are from 0-4294967295. Default value is 0.
SyslogFacility - Valid values are: LOG_KERN, LOG_USER, LOG_MAIL, LOG_DAEMON, LOG_AUTH, LOG_LPR, LOG_NEWS, LOG_UUCP, LOG_CRON, LOG_LOCAL0, LOG_LOCAL1, LOG_LOCAL2, LOG_LOCAL3, LOG_LOCAL4, LOG_LOCAL5, LOG_LOCAL6, LOG_LOCAL7. The default value is LOG_USER.
NtEventLogCategory - Valid value: any DWORD value. The default value is 0.
LogFileSDDL - Valid value is a properly formatted SDDL string. Defaults to the ACLs associated with the log directory.
NtEventLogSourceName - The name listed in the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application registry setting for the source application. If the name does not match the name in the registry, the localized messages will not display correctly.
The following example installs product 1 with the product configuration path /tmp/smf.conf:
vxlogcfg -a --prodid 1 -c /tmp/smf.conf -n 'VxSMF,vxsmf'
The following example sets the LogDirectory for originator ID 2 and product ID 1:
vxlogcfg -a --prodid 1 --orgid 2 -s LogDirectory=/tmp/logs
The following example sets the RolloverMode for the Default:
vxlogcfg -a --prodid 1 --orgid Default -s RolloverMode=FileSize
The following example sets the DebugLevel and DiagnosticLevel for all the originators of product ID 1:
vxlogcfg -a --prodid 1 --orgid ALL -s DebugLevel=0 -s DiagnosticLevel=1
The following example removes LogDirectory setting for product ID 1 and originator ID 2:
vxlogcfg -r --prodid 1 --orgid 2 -s LogDirectory
The following example removes all the settings for originator ID:
vxlogcfg -r --prodid 1 --orgid 2
The following example removes product 1 and does not display any messages on the screen.
vxlogcfg -r --prodid 1 -q
The following example displays all configuration settings for originator 2 for product 2:
vxlogcfg -l --prodid 2--orgid 2
The following example lists all the originators configured for the product 2:
vxlogcfg -l --prodid 2
The following example lists all configured products:
vxlogcfg -l
The vxlogview and vxlogmgr commands.
Last updated: 10 Mar 2006
Copyright ©2009 Symantec Corporation
All rights reserved.