Adding Access Logging to Symfony Application


sfAccessLoggerPlugin introduces a way of logging your site visits. To accomplish this logging, the others plugin is needed:

  1. sfGuardPlugin for User management.
  2. sfPropelUuidBehaviorPlugin for generating Universally Unique Identifier (UUID).
  3. sfRemoteIPPlugin, an extract of function found in sfPropelAuditPlugin by Sacha Telgenhof Oude Koehorst to detect the remote IP Address.
  4. sfBrowscapPlugin, a simple symfony wrapper for phpbrowscap to determine the client browser capability.
  5. The sfAccessLoggerPlugin itself.

Configuration:

  1. Instal all plugins and enable them.
  2. Do propel build model, forms, filters, and SQL, then insert generated SQL to your database.
  3. In your backend application, enable bundled module sfAccessLogViewer to provide admin style generated module to view the access log.
Advertisements

, , , , ,

  1. Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: