r7 - 14 Jul 2008 - 14:51:57 - BeckyHYou are here: Wiki >  AppLogic27 Web > CliLog
ALERT! AppLogic 2.7/2.8 Documentation The latest production release is AppLogic 3.0.30

Log Management Commands

The following commands are supported:

      Command       Description
  list   List contents of controller's system log
  reset   Clear the grid controller's message log
  mark   Write a user-defined message into the controller's system log.

list

Description: List contents of log
Syntax: log list [ --all | -p | n=val [--follow| -f] ]
Arguments: --all List all contents of the log
-p List contents of the log with pagination
n=val List the last val lines of the log
--follow Append output as the log file grows. This argument is only valid if invoked interactively.
Examples: log list - List the last 30 lines of the log file
log list --all - List all contents of the log file
log list -p - List all contents of the log file with pagination
log list n=10 - List the last 10 lines of the log file
log list n=10 --follow - Show last 10 lines in the system log and append output as the log file grows
Notes: If invoked interactively, allows the user to browse the contents of the log similar to the Linux 'less' command. If not invoked interactively, lists the whole log or the last n lines of the log.

reset

Description: Clear the log
Syntax: log reset
Arguments: None.  
Examples: log reset - Clear system log
Notes: None.

mark

Description: Place a mark in the log
Syntax: log mark comment="val"
Arguments: comment Text that is to be marked in the log.
Examples: log mark command="begin mark" - Write "begin mark" into the system log
Notes: None.

-- BeckyH - 23 May 2006

 
Copyright © CA 2005-2011. All Rights Reserved.
%