Re: download attachment logs

"Youngho Cho" <[email protected]>
Newsgroups gmane.comp.java.scarab.user
Message-ID <001001c819d5$b0ca5e40$6401a8c0@Jiheun>
Hello,

The Simplest way is that

Set up apache in front of Scarab as a proxy or load balancer and see the apache log
or you can make some servlet filter in the Tomcat.

if you use using scarab only
add new Valve for your purpose in the pipeline

or 
add some log about client ip address in the IssueView.java or ViewAttachment.java file like

Log().get().info(data.getRemoteAddr());



Thanks,


Youngho
  ----- Original Message ----- 
  From: FRED.YY.LIN 林宥延 
  To: [email protected] 
  Sent: Monday, October 29, 2007 10:00 AM
  Subject: download attachment logs


  Dear all,

  We would like to log the history of downloading attachments in Scarab 0.21, including the IP address which initials the downloading.

  Actually, we hope to log all events into the history including reading the issue.

  Does anyone know which file I shall modify ?


  Fred
        *************************************************************************************************************************
        This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. [Delta Electronic, INC. Taiwan]
        *************************************************************************************************************************
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.