[ic] Logging traffic to MySQL

Grant emailgrant at gmail.com
Wed Feb 16 15:04:15 EST 2005


I added the following to my autoload so I can create custom traffic reports:

[import table="traffic" type="line" continue="notes"]
date: [time]%Y%m%d%H%M%S[/time]
user_agent: [env HTTP_USER_AGENT]
session: [data base="session" field="id"]
ip_address: [env REMOTE_ADDR]
page: [env PATH_INFO]
referrer: [env HTTP_REFERER]
[/import]

Is there any way to optimize this for performance?  I have commented
out the TrackFile entries in catalog.cfg.

- Grant


More information about the interchange-users mailing list