我使用的是谷歌Picasa的.NET庫,當我執行下面的代碼。Google Picasa服務 - 關閉日誌記錄
Dim requestFactory As GOAuth2RequestFactory = RefreshAuthenticate(accessToken, refreshToken)
Dim service As New PicasaService("test")
service.RequestFactory = requestFactory
Dim query As New AlbumQuery(PicasaQuery.CreatePicasaUri("default"))
Dim feed As PicasaFeed = service.Query(query)
它生成日誌記錄的海爾(我猜測使用Trace.Write)。 我們的應用程序使用跟蹤偵聽器並將該跟蹤保存到文本文件(日誌文件)。但通過這一次呼叫,會生成超過10秒的Mbs日誌。 我想關閉Google Picasa的日誌記錄(最好使用代碼)。
我在Debugging Google Data API Clients: Exploring Traffic from Within your Program上看到一篇文章但是這並沒有說明關閉這個問題。
任何幫助,非常感謝。 謝謝
我不認爲有人支持gdata客戶端庫了。它支持的大多數API都是死的。我認爲它的來源是https://github.com/google/google-gdata,也許你可以選擇它。 – DaImTo