Delete Log Window


[image of show_dlog dialog]

All files deleted by AFD are logged to the file $AFD_WORK_DIR/log/DELETE_LOG.?, described in more details in log section. These log files can be viewed with the help of show_dlog. Since the delete log can be very extensive, there are lots of possibility to reduce the search time by filling in some of the following values:

[closeup of the selection part]

 1  Enter the start and end time of the search. If no value is entered it will always take the earliest or latest entries it finds. There are two time forms. One is the absolute and the other is the relative time format. The following absolute forms are possible: MMDDhhmm, DDhhmm and hhmm (MM = month [01-12], DD = day [01-31], hh = hour [00 - 23], mm = minute [00 - 59]). The relative form always starts with a hyphen '-' and has the following format: -DDhhmm, -hhmm or -mm.
 2  Shows the current date and time in the following format: DD.MM.YYYY hh:mm
 3  Enter a file name. The name may have any number of the two following wild cards: * and ?. If no file name or wild card is entered it will always search for all file names. Multiple file names/patterns can be entered by separating them with a pipe (|).
 4  Here it is possible to enter the length/size of a file. If a < or a > sign is put before the size value, it will search for files less then or greater then the given size.
 5  The source directory where the AFD has picked up the file. Even here it is possible to enter wild cards. Sometimes it can be easier if you just enter the directory ID. However this must have a leading # for it to be detected as directory ID. One can also enter the directory alias with a leading @ sign. Multiple directory names and/or ID's can be entered by separating them with a comma (,).
 6  Here you can enter a remote host name and only files that where send to this host will be shown. It is also possible to enter more then one host, by separating the hosts with a comma (,). Wild cards can also be used.
 7 

[window
       showing possible delete reasons]

Pressing the Delete reason button will popup another window allowing to choose from a list of delete reasons to allow the user to narrow down the search where or why the file was deleted:
Age-limit(O) Files deleted due to some age limit being reached on output.
Age-limit(I) Files deleted due to some age limit being reached on input.
User delete Deleted by some user action.
Exec delete Deleted because the exec option failed and deletion was configured in this case.
Missing msg Process fd had to delete the data for this job because the message file in $AFD_WORK_DIR/messages could not be read for what ever reason.
Duplicate(I) Duplicate files deleted on input. See directory option dupceck.
Duplicate(O) Duplicate files deleted on output. See option dupceck.
Unknown file There was no rule to distribute this file and the directory option delete unknown files is set or the system default was set to delete this.
Job ID error The given job ID was not found, thus it no longer exists within AFD and all data for this job is deleted.
Old lock file The directory option delete old locked files is set and the locked file is older then the specified locked file modification time and was thus deleted.
Queued file The directory option delete queued files is set and the file in the queue was deleted because it was older then the specified time.
Delete option This file was deleted due to the delete option in DIR_CONFIG.
Del stale job This file was deleted by process fd because either, the syntax of calling sf_xxx/gf_xxx is wrong, the sf_xxx could not determine the job ID or the FTP LIST command has failed.
Update DB del An update database was issued either with udc or Reread DIR_CONFIG and data for a job that no longer existed has been deleted.
Other proc The file was deleted because another process was sending the same file name to the same destination at the same time.
Del pool dir The pool directory and its contents was deleted because the job could no longer be located.
Exec stored The exec option was specified with the -s option but AFD failed to store the file.
Host disabled Data was deleted because the host has been disabled.
Convert fail The conversion fax2gts or tiff2gts has failed so the data was deleted.
Rename overwr The basename, extension or rename was specified with the overwrite option anfd data has been overwritten due to having the same name.
Mail recp rej The mail server rejects the mail recipient. Most properly because the recipient is not known by the mail server.
 8  These toggle buttons allow the user to toggle between different length of the file name in the list box. The short one is useful when printing on A4 paper.

It is not necessary to fill in any values, however then the search might take a very long time for it to finish, depending on how long and how many log files there are. While the dialog is searching for data, the function of the search button changes into a stop button, enabling the user to interrupt the search. This button and the slider of the list widget are the only buttons that are active during a search. Thus, the user can search in the list widget by using the slider, while the dialog is still searching. Once a search is interrupted, the search will always start from the beginning.

Here follows a short description of the list widgets and the meaning of each item:

[closeup of the list]

Date The date in the following format: MM.DD. where MM is the month (01-12) and DD is the day of the month (01-31).
Time The time in the following format: hh:mm:ss where hh is the hour (00-23), mm is the minute (00-59) and ss is the second (00-59).
File name The file name of the file that was deleted.
File size The size of the distributed file in bytes.
Hostname The hostname where it was suppose to be send.
Reason A short reason why the file was deleted.
Process/User The process or user deleting the file. Sometimes there are some additional reasons why the file was deleted.

When the file name is longer then it is shown in the list widget it is still possible to view it by using the 'AFD info click'. This is done by pressing the right mouse button while the cursor is over the wanted item in the list widget. The following window will pop up for a file deleted on output:

[info dialog]

For a file deleted on input this looks a bit different:

[info dialog]

Sometimes there can be a lot less information since the process deleting does not have more.

As shown, this window also shows what the entry in the DIR_CONFIG looked like when this file was deleted. Thus it is always possible for the AFD system administrator to see with what options the files are deleted, regardless how many changes there where in the DIR_CONFIG file.

Right under the list widget is a summary line which looks as follows:

[closeup of the summary line]

 1  The time in days from the first entry found to the last entry in the list.
 2  The rest time in hours, minutes and seconds.
 3  The total number of files found.
 4  The average number of files transmitted. This is calculated from the values found in 1, 2 and 3.
 5  Total number of bytes transferred.

Under the summary line follows a status line showing the current status, here how long it took for the search:

[closeup of the status line]

At the bottom is a line with three buttons which have the following meaning:

[closeup of the button line]

 Search  Pressing this button will start the search. During the search the name of the button will change to Stop. Pressing this will interrupt the search and the button will be renamed to Search again. Pressing search again will start the search from the beginning and not where it was when it was interrupted.  
 Print  This will popup another dialog which can be used to print what is shown to a separate file, send it in a mail to someone or print it to a printer. The Range field allows to specify what will be printed, either what has been selected or everything.
 Close  Closes this dialog.  


Copyright © 2005 - 2023 by H.Kiehl
Holger.Kiehl@dwd.de
Last updated: 04.03.2023
[red dot]Index [red dot]Home