.logout help

We have an application that uses the csh shell as the default. We can not change this as when we upgrade it will change back to csh. We have several people that log in with this id. I would like to create a .logout exit script to audit what transactions were performed, termal, etc.

Does anyone have an example of a .logout script doing this or have another idea how this could be done.

Does anyone have an idea?

Please read the rules, specifically:

(4) Do not 'bump up' questions if they are not answered promptly. No duplicate or cross-posting and do not report a post or send a private message where your goal is to get an answer more quickly.

Does anyone know how to delete or clear the csh history. When people log out I would like the history to be copied to a file along with some other infomation about the connection. However when I do this the history goes back several days so it seems like the last person that logged out did more than they did.

So I would like to copy the history then clear or remove the history. That way when the next person logs in they will start off with a clean slate.