Re: Logging environment variables
Edward rudd <[email protected]> Thu, 24 Nov 2005 11:49:59 -0500
| Newsgroups | gmane.comp.apache.mod-log-sql |
|---|---|
| Organization | OutOfOrder.cc |
| Message-ID | <[email protected]> |
On Thu, 2005-11-24 at 16:22 +0000, Mike Cardwell wrote: > * on the Thu, Nov 24, 2005 at 10:51:52AM -0500, Edward rudd wrote: [snip] > > I think mod_log_sql would be a lot more powerful if you were able to > specify column names to be filled by the contents of Environment > variables eg: > > LogSQLEnvVar virtual_host "VHOST" > LogSQLEnvVar remote_port "REMOTE_PORT" > > Using a mod_rewrite map you can fill in those env variables with almost > any data you can think of, and then log them to the database in a column > name of your choice. Granted, that's a very specialised feature request > that most people wouldn't require. > > Technically, you could drop altogether LogSQLTransferLogFormat if this > were the case. I am planning on adding something similar to allow "dynamic" configuration of the fields (even adding in new ones). It just requires some extra work to get that to work w/ the auto-creation of tables mechanism. _______________________________________________ Download the latest version at http://www.outoforder.cc/projects/apache/mod_log_sql/ To unsubscribe send an e-mail to mod_log_sql-unsubscribe-7qY7E20V6GW73k+5HYS8LQqVMODqnSLI@public.gmane.org
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBDhe83vwMxRUUct20RAl4lAJ4ibaqNQ65Bv8wL/PpJubGwgv5vAQCggVJr 2iQVzcDBM3rceKpRuQ/22pQ= =DsjY -----END PGP SIGNATURE-----