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: -DDHhhmm, -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.
 4  Here it is possible to enter the length/size of a file. If a < or a > sign 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.
 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  These toggle buttons allow the user to narrow down the search where or why the file was deleted:
AGE(O) Files deleted due to some age limit being reached on output.
AGE(I) Files deleted due to some age limit being reached on input.
DUP(I) Duplicate files deleted on input. See directory option dupceck.
DUP(O) Duplicate files deleted on output. See option dupceck.
USER Deleted by some user action.
EXEC Deleted because the exec option failed and deletion was configured in this case.
DUF 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.
OTHER(I/O) If they do not fall under the above reasons. They can be because of internal reasons like the system does not have enough resources. Or when the sending process detects that the same file name is being transmitted into the same remote directory, it will be deleted. (I) will show that it was deleted on input and (O) on output.
 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 iThe 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 transfered.

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 by H.Kiehl
Holger.Kiehl@dwd.de
Last updated: 05.07.2005
[red dot]Index [red dot]Home SourceForge.net Logo