Fix the handling of reverse time in the ratelimit code.
[exim.git] / src / util / logargs.sh
1 #! /bin/sh
2 # $Cambridge: exim/src/util/logargs.sh,v 1.1 2004/10/07 10:39:03 ph10 Exp $
3
4 # This script can be interposed between a calling program and another
5 # program, in order to log the arguments which are being used. This can
6 # be helpful in finding out what is going on if some program is calling
7 # Exim with arguments it doesn't understand.
8
9 # Set this to the the path of the program that must ultimately be called.
10
11 CALL=exim
12
13 # Set this to the name of the file where the data is to be logged. The
14 # script writes on the end of it. It must be accessible to the user who
15 # runs the script.
16
17 LOGFILE=/home/ph10/tmp/zz
18
19 # The arguments are copied to the log file
20
21 echo $@ >>$LOGFILE
22
23 # The real program is now called
24
25 exec $CALL $@
26
27 # End