utledlog (Command to delete the conversion log)
The log file is a database file. As such, use this command to delete log data. You can specify the deletion range in detail by using parameters.
Even if you execute the utledlog command, the log file size does not decrease. Use utledcomp command to decrease the log file size.
You cannot use the Operation Log for the DataMagic Desktop grade.
Grade |
User type for DataMagic |
Executability |
---|---|---|
DataMagic Server |
Superuser |
Executable |
General user |
Not executable |
|
DataMagic Desktop |
- |
Executable (#1) |
#1 |
: |
You cannot use the Operation Log for DataMagic Desktop grade. |
Commands
- To delete data processing log
-
utledlog [-i log] {[-f YYYY/MM/DD [hh:mm:ss]] [-t YYYY/MM/DD [hh:mm:ss]]| -s seqno|-a|-b {n|lastweek|lastmonth|yesterday}}
- To delete operation log
-
utledlog -i ope {[-f YYYY/MM/DD [hh:mm:ss]] [-t YYYY/MM/DD [hh:mm:ss]]| -a|-b {n|lastweek|lastmonth|yesterday}}
Parameters
-i log|ope
Specify the log data you want to delete. (This parameter can be omitted.)
If you omit this parameter, the data processing log is deleted.
- log
-
: Deletes data processing log.
- ope
-
: Deletes operation log.
-f YYYY/MM/DD [hh:mm:ss]
Specify the start date of the log data you want to delete. (This parameter can be omitted.)
If you omit this parameter, log data is deleted from the beginning.
-t YYYY/MM/DD [hh:mm:ss]
Specify the end date of the log data you want to delete. (This parameter can be omitted.)
If you omit this parameter, log data is deleted until the end.
-s seqno
Specify the conversion identifier you want to delete. (This parameter can be omitted.)
You can specify this parameter only if you specify the -i parameter as log or omit the -i parameter (when deleting the data processing log).
-a
This option deletes all log data. (This parameter can be omitted.)
-b {n|lastweek|lastmonth|yesterday}
Specify the range of the log to be deleted. (This parameter can be omitted.)
You can specify the range relative to the present.
- n
-
: Deletes log data up to n days ago.
Specify a number in the range of 1 to 9999.
- lastweek
-
: Deletes log data up to the last week. (up to Saturday)
- lastmonth
-
: Deletes log data up to the last month.
- yesterday
-
: Deletes log data up to the previous day.
-
The date part of Usage is displayed in the format that is specified as the date format (datefmt) for the system environment settings.
-
To specify a date, use the format selected as the date format (datefmt) for the system environment settings.
-
If you specify the start and end dates by using parameters, you must insert one half-width space between the date (YYYY/MM/DD) and the time (hh:mm:ss). You must also enclose the date (YYYY/MM/DD) and time (hh:mm:ss) in double quotation marks ("). However, if you specify only the date or the time, the double quotation marks are unnecessary.
Example: -f "2011/04/01 10:00:00"
-
You can specify only a time as the parameters for the start and end dates. If you omit the date and specify only the time, the date on which the command is executed is treated as the date.