07.08.2013 Views

SAS 9.1.3 Intelligence Platform: System Administration Guide

SAS 9.1.3 Intelligence Platform: System Administration Guide

SAS 9.1.3 Intelligence Platform: System Administration Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Administering Logging R Adding Options to the Object Spawner Script to Enable Logging 91<br />

-saslogfile filename<br />

Specifies the fully qualified path to the file where the log is to be stored.<br />

-sasVerbose<br />

Specifies that the object spawner is to record more detail in the log file.<br />

Use one of the following procedures, depending on how your spawner is started:<br />

3 “Add Logging Options When the Object Spawner Is Started From a Script” on<br />

page 91<br />

3 “Add Logging Options When the Object Spawner Runs as a Windows Service” on<br />

page 91<br />

You should use one of these logging methods if technical support requests that you<br />

provide a log.<br />

Add Logging Options When the Object Spawner Runs as a Windows Service<br />

If your object spawner is installed as a Windows service, then follow these steps to<br />

add logging options to the spawner start-up script:<br />

1 Stop the service in the Windows Services manager by using the command<br />

ObjectSpawner.bat -stop. The default location for the ObjectSpawner.bat file<br />

is as follows:<br />

<strong>SAS</strong>-config-dir\Lev1\<strong>SAS</strong>Main\ObjectSpawner<br />

2 Remove the spawner service by using the command ObjectSpawner.bat -remove.<br />

3 Open the ObjectSpawner.bat file in a text editor.<br />

4 In the file, locate the line that contains the following string:<br />

:install<br />

The next line contains a start command. Add the following options to that<br />

command:<br />

3 -saslogfile filename<br />

3 -sasVerbose<br />

5 Save the file.<br />

6 Reinstall the service by using the command ObjectSpawner.bat -install.<br />

Add Logging Options When the Object Spawner Is Started From a Script<br />

If your object spawner is started from a script, then follow these steps to add logging<br />

options to the spawner start-up script:<br />

1 Use the appropriate script to stop the object spawner.<br />

2 Open the spawner invocation script (ObjectSpawner.bat or ObjectSpawner.sh)<br />

in an editor. The default location for the file is as follows:<br />

<strong>SAS</strong>-config-dir\Lev1\<strong>SAS</strong>Main\ObjectSpawner<br />

3 In the file, locate the section that begins with the following string:<br />

:start2<br />

Locate the start command in that section, and add the following options to the<br />

command:<br />

3 -saslogfile filename<br />

3 -sasVerbose<br />

4 Save the file, and restart the object spawner.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!