在我的Google存储桶中看不到访问日志

在我的Google存储桶中看不到访问日志

本文介绍了在我的Google存储桶中看不到访问日志的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

我正在使用Google存储服务开发示例程序.设置日志记录并执行几天的操作后,我能够正确设置存储桶日志记录,但仍然看不到任何 csv文件作为日志在我的目标已记录存储桶中.

I am developing a sample program using Google Storage service. I am able to set Bucket logging correctly, after setting logging and performing operations for days, still I am not able to see any csv file as logs in my destination logged bucket.

<Logging>
    <LogBucket>
        my_logs
    </LogBucket>
    <LogObjectPrefix>
        log_object_prefix
    </LogObjectPrefix>
</Logging>

我正在使用与上述相同的API来设置日志记录.在获取存储分区的登录状态时,它会显示为设置日志记录.

I am using same above API to set logging. On getting the status of logging on bucket, it show as set logging.

请让我知道设置日志中缺少什么?

Please let me know what is missing on setting logs?

预先感谢您的帮助,

Neelam Sharma

Neelam Sharma

推荐答案

[email protected]需要具有对LogBucket的写入权限,如下所述: https://developers.google.com/storage/docs/accesslogs

[email protected] needs to have write permission for your LogBucket as described here: https://developers.google.com/storage/docs/accesslogs

这篇关于在我的Google存储桶中看不到访问日志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-06 12:48