--- lib/PXElator/CouchDB.pm 2009/08/18 21:53:19 258 +++ lib/PXElator/CouchDB.pm 2009/08/26 15:59:19 299 @@ -13,6 +13,7 @@ use Scalar::Util qw/blessed/; use Storable qw/dclone/; use Carp qw/carp/; +use POSIX; sub new { my ($class, $host, $port, $options) = @_; @@ -144,7 +145,8 @@ # carp 'audit ', dump($data); - $time = int($time); # reduce granularity for url +# $time = int($time); # reduce granularity for url + $time = strftime("%Y-%m-%d.%H:%M:%S", localtime $time); my $package = $caller[0]; $audit->put( "pxelator/$time.$package.$url", $data );