r5 - 17 Nov 2006 - 15:16:00 - BeckyHYou are here: Wiki >  AppLogic2 Web > CliLog
led-green December 24 - AppLogic 2.4.7 is now available and is the latest production release!

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 [ n=val ] [ --follow | -f ]
Arguments: n=val List the last val lines of the log
--follow | -f Append output as the log file grows. This argument is only valid if invoked interactively.
Examples: log list n=10 - Show last 10 lines in the system log
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 © 2005-2008 3tera, Inc. All Rights Reserved.
%