commadmin debug log

commadmin debug log

The commadmin debug log command creates a Delegated Administrator server log that contains debug statements generated by the Delegated Administrator servlets installed on the Web container.

If the log file already exists, the new debug statements are appended to the end of the existing file. If the log file does not exist, a new file is created.

NOTE: This sets the debug mode on Delegated Administrator Server. This is useful for analyzing problems that affect the Delegated Adminstrator Console and the Delegate Administrator Utility. For analyzing problems with the Delegate Administrator Utility (commadmin) client itself, use the "-v" flag, and capture the command output.

Syntax

commadmin debug log –D login –n domain –w password –t [ on|off ] –f path and file name

Options

The following options are mandatory:

Option Description
-D login The user ID of the Top-Level Administrator.
-n domain The domain of the Top-Level Administrator.
-t [ on|off ] Toggles between turning on the debug log and turning it off.

The value on causes the server to start writing debug statements to the log.
The value off causes the server to stop writing debug statements to the log.
-w password The password of the Top-Level Administrator.

The following option is non-mandatory:

Option Description
-f path and file name The full path where the log will be created, including the file name of the log.

The path must be one of the following two directories:

/tmp/

/var/tmp/

The file name can be any file name.

If the -f option is not specified, the default value is /tmp/commcli.log.

Example

To create a new debug log, enter:

commadmin debug log –D paul –n sesta.com –w bolton \
–t on –f /tmp/debug.log

To turn off logging to an existing log file, enter:

commadmin debug log –D paul –n sesta.com –w bolton \
–t off

You do not have to specify the file name when you turn off the log.

Labels

delegatedadministrator delegatedadministrator Delete
reference reference Delete
da da Delete
commadmin commadmin Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Sign up or Log in to add a comment or watch this page.


The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact