textlog

textlog — starts the Cascade TextLogger.

Synopsis

textlog [-aDFhvVX] [-d domain] [-n name] [-o output] [-p prefix] [[-f] cfgfile]

Arguments

-a

Append to output files instead of erasing them on startup.

-d domain

Set the Cascade DataHub domain name.

-D

Do not detach from the console. Run in the foreground.

-f cfgfile

Specify the starting configuration file. This can be done using the -f prefix or by putting the name of the configuration file at the end of the list of options, or both.

-F

Force log entries to be flushed to file immediately. (default is buffered for files and unbuffered for stdout).

-h

Print a help message and exit.

-n name

Declare this name with the Cascade NameServer.

-o output

Set the default output file. This takes effect before the configuration file is read, and will be overridden by any settings in the configuration file.

-p prefix

Set the global prefix name. This name overrides the default output file name in the %F format directive.

-v

For the purpose of debugging, print commands sent to textlog during run-time to standard output before executing them.

-V

Print the version number.

-X

Exit immediately (usually used with -V).

Description

The textlog command starts the Cascade TextLogger according to the options specified.

Example

[sh]$ textlog -d project_52b -n tlogger9  tl.cfg 

or

[sh]$ textlog -d project_52b  -f tl.cfg -n tlogger9