wt.sysadm
Class LogFiles

java.lang.Object
  extended bywt.sysadm.LogFiles

public class LogFiles
extends Object

The LogFiles class provides read only access to the log files in the WT_HOME\Logs (or equivalent)

It also enables the user to highlight portions of text and email same. The default receipient being support@windchill.com.

The browser from which the user accesses the log files must have an email client configured for use.


Field Summary
protected static String doc_base
           
protected static String exec_base
           
private static String homeClassName
           
protected static String logs_dir
           
private static String queryString
           
private static String thisClassName
           
private static String versionID
           
 
Constructor Summary
private LogFiles()
          Uninstantiable class.
 
Method Summary
static void getLogName(Properties prop, Locale locale, OutputStream os)
          Get the name of the log file chosen.
static void insertLog(Properties prop, Locale locale, OutputStream os)
          Output the log file contents in a textarea.
static void printTopPage(SysAdminRequest req, SysAdminResponse resp)
          Output the main page frames.
protected  void setQueryString(String str)
          Set the queryString of this class instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionID

private static final String versionID
See Also:
Constant Field Values

doc_base

protected static String doc_base

exec_base

protected static String exec_base

logs_dir

protected static String logs_dir

thisClassName

private static String thisClassName

homeClassName

private static String homeClassName

queryString

private static String queryString
Constructor Detail

LogFiles

private LogFiles()
Uninstantiable class.

Method Detail

setQueryString

protected void setQueryString(String str)
Set the queryString of this class instance.


printTopPage

public static void printTopPage(SysAdminRequest req,
                                SysAdminResponse resp)
                         throws IOException,
                                WTException
Output the main page frames. Frames know what to call to get their content.

Throws:
IOException
WTException

getLogName

public static void getLogName(Properties prop,
                              Locale locale,
                              OutputStream os)
                       throws IOException
Get the name of the log file chosen.

Throws:
IOException

insertLog

public static void insertLog(Properties prop,
                             Locale locale,
                             OutputStream os)
                      throws IOException
Output the log file contents in a textarea. Provide mailer constructs, etc.

Throws:
IOException