FAQ
Edit report at https://pear.php.net/bugs/bug.php?id=17131&edit=1

ID: 17131
Updated by: daniel.oconnor@gmail.com
Reported By: david at echolibre dot com
Summary: Ability to fetch the logging information per bucket.
-Status: Assigned
+Status: Closed
Type: Feature/Change Request
Package: Services_Amazon_S3
Operating System: Irrelevant
Package Version: 0.3.1
PHP Version: 5.3.1
-Assigned To: gauthierm
+Assigned To: doconnor
Roadmap Versions:
New Comment:

-Status: Assigned
+Status: Closed
-Assigned To: gauthierm
+Assigned To: doconnor
This bug has been fixed in SVN.

If this was a documentation problem, the fix will appear on pear.php.net
by the end of next Sunday (CET).

If this was a problem with the pear.php.net website, the change should
be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.




Previous Comments:
------------------------------------------------------------------------

[2011-04-25 08:54:05] doconnor

-Assigned To:
+Assigned To: gauthierm
What's left to close this bug?

------------------------------------------------------------------------

[2010-02-18 16:57:20] gauthierm

I think an API somewhat like the ACL API would be more consistent with
the rest of
Services_Amazon_S3.

I started this quickly in SVN, but it is definitely not usable yet:
http://svn.php.net/viewvc?view=revision&revision=295240

------------------------------------------------------------------------

[2010-02-18 13:14:30] davidc

Added #patch bug:17131;patch:Patch-17131;revision:1266498869;.

------------------------------------------------------------------------

[2010-02-18 13:05:04] davidc

Description:
------------
With most of the other libraries now you are usually able to fetch the
logging information for the s3 bucket. This is used querying
/bucketname?logging

Test script:
---------------
It's an actual use case of the patch I'm about to attach.

<?php
$s3 = Services_Amazon_S3::getAccount(ACC, SEC);
$buckets = $s3->getBuckets();

foreach ($buckets as $handle => $bucket) {
$loggingInfo = $bucket->getLogging();
if ($loggingInfo !== false) {
foreach ($loggingInfo as $key => $logNode) {
echo 'bucket name: ' . $logNode->nodeName;
echo ' bucket log file ' . $logNode->nodeValue;
}
echo 'no logging enabled for ' . $bucket->name . PHP_EOL;
}

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedJan 25, '12 at 1:17p
activeJan 25, '12 at 1:17p
posts1
users1
websitepear.php.net

1 user in discussion

Daniel Oconnor: 1 post

People

Translate

site design / logo © 2022 Grokbase