Home > Contents > Index > 
CATALOGMANAGER.deletelog
Deletes the log fileusing the
CATALOGMANAGERcommand (futuretenseip_address.txt) if per-IP address logging is enabled.Syntax
<CATALOGMANAGER> <ARGUMENT NAME="ftcmd" VALUE="deletelog" /> </CATALOGMANAGER>Parameter
ftcmd (required)- Value must be set to
 deletelog.
Description
The
deletelogcommand deletes the log file (futuretenseip_address.txt) if per-IP address logging is enabled. Enable per-IP address logging by setting theft.dblproperty, found in the Content Server properties file (futuretense.ini), toyes.This command is useful for removing the existing log file so that you can create a new one when debugging. When the application server restarts and Content Server is called the first time, the ContentServer servlet attempts to delete all previous log files, regardless of whether per-IP address logging is enabled. This means that the Content Server log file is deleted as well as any other
.TXTfiles in the directory where the logs are stored.errno
The possible values of
errnoinclude:
 Value Description -300 File not found.Example
This example deletes the log via a URL.
<SETVAR NAME="makekey" VALUE="CS.Property.CC.Primary"/> <SETVAR NAME="keytype" VALUE="CS.Property.CC.bigint"/> <SETVAR NAME="errno" VALUE="0" /> <SETVAR NAME="errno" VALUE="0" /> <CATALOGMANAGER> <ARGUMENT NAME="ftcmd" VALUE="deletelog" /> </CATALOGMANAGER> <IF COND="IsError.Variables.errno=true"> <THEN> <!--Handle error--> </THEN> </IF>See Also
The following
CATALOGMANAGERcommand:
Home > Contents > Index > ![]()
FatWire XML Tag Reference
Copyright 2005 by FatWire Software
All rights reserved.