Skip navigation links


com.essbase.eas.essbase.server
Class EssbaseLogPrimitives

java.lang.Object
  extended by com.essbase.eas.essbase.server.EssbaseLogPrimitives


public class EssbaseLogPrimitives
extends java.lang.Object

This object retrieves an Essbase log file for a server or an application and passes back the contents of the file as a string.

Version:
1.0, created 2/7/2001
Author:
Joe Fernandez

Constructor Summary
EssbaseLogPrimitives()
           

 

Method Summary
static boolean deleteLog(ISession session, java.lang.String appName)
          deletes a log file.
static java.io.File getLog(EssSession session, java.lang.String appName, long dateStamp)
          Retrieves the log from a server and reads it into a String.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

EssbaseLogPrimitives

public EssbaseLogPrimitives()

Method Detail

getLog

public static java.io.File getLog(EssSession session,
                                  java.lang.String appName,
                                  long dateStamp)
Retrieves the log from a server and reads it into a String.
Parameters:
session - - session object for this command.
appName - - application name for application log, null for server log
dateStamp - - start date for log entries - null for all
Returns:
File containing log text

deleteLog

public static boolean deleteLog(ISession session,
                                java.lang.String appName)
deletes a log file.
Parameters:
session - - session object for this command.
appName - - name of application whose log is to be deleted. if "null", then deletes server's main log
Returns:
true if the delete succeeds. What do we do about messages if the call fails?

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.