我该如何应对积聚的冰雪?

发布于 2024-12-09 10:59:48 字数 1216 浏览 2 评论 0原文

我有一个 iPhone 应用程序,安装了相对简单的 Flurry 配置。我注意到 Flurry 文件(“flurryResponseNNNNN...”)似乎不断累积并且永远不会被删除(至少不会在 3 周内恢复)。

现在,今年已经太晚了,我们开始预计明尼苏达州会出现一些积累,但我并不担心这么早。

是否有一些 Flurry 设置可以控制 Flurry 保留的文件数量(或总大小或其他),或者我是否需要直接在我的应用程序中管理它?

补充:

这些文件位于 Documents 目录中。它们包含类似于以下内容的 XML:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>body</key>
    <data>
    </data>
    <key>headers</key>
    <dict>
        <key>Connection</key>
        <string>close</string>
        <key>Content-Length</key>
        <string>0</string>
        <key>Content-Type</key>
        <string>application/octet-stream</string>
        <key>Date</key>
        <string>Wed, 14 Sep 2011 19:41:25 GMT</string>
        <key>Server</key>
        <string>nginx</string>
    </dict>
    <key>statusCode</key>
    <integer>200</integer>
</dict>
</plist>

I have an iPhone app that has a relatively simple Flurry configuration installed. I notice that the Flurry files ("flurryResponseNNNNN...") seem to build up and are never deleted (at least not going back over 3 weeks).

Now, it is getting to be late enough in the year where we begin expect some accumulation here in Minnesota, but I'm not anxious for this much this early.

Is there some Flurry setting that controls the number of files (or total size or whatever) that Flurry retains, or do I need to manage this directly in my app?

Added:

The files are in the Documents directory. They contain XML similar to:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>body</key>
    <data>
    </data>
    <key>headers</key>
    <dict>
        <key>Connection</key>
        <string>close</string>
        <key>Content-Length</key>
        <string>0</string>
        <key>Content-Type</key>
        <string>application/octet-stream</string>
        <key>Date</key>
        <string>Wed, 14 Sep 2011 19:41:25 GMT</string>
        <key>Server</key>
        <string>nginx</string>
    </dict>
    <key>statusCode</key>
    <integer>200</integer>
</dict>
</plist>

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

薄荷→糖丶微凉 2024-12-16 10:59:48

我应该说,我发现这些文件是诊断日志,在启动 Flurry 时通过设置打开。 (我忘记了具体的设置,并且这里没有代码,但是当您寻找它时,它是相当明显的。)关闭该设置,它们就会消失(或者至少不再生成)。

I should say that I discovered that these files are diagnostic logs, turned on by a setting when starting up Flurry. (I forget the specific setting and don't have the code at hand here, but it's fairly obvious when you go looking for it.) Turn off that setting and they go away (or at least no more are generated).

<逆流佳人身旁 2024-12-16 10:59:48

我以前使用过 Flurry,但从未见过这些文件。它们存放在哪里;如果它位于缓存或临时文件夹中,那么我就不会担心它们。

当您访问应用程序的网站时,您是否看到 flurry 工作正常?

您能告诉我们更多有关您的混乱配置的信息吗?您要记录哪些分析?

注意,我当然不想开始从应用程序内部手动删除文件!

I've used Flurry before and never seen these files. Where are they being stored; if it's in the cache or temp folder then i wouldn't' worry about them.

Do you see flurry working correctly when you go to your app's website?

Can you tell us more about your flurry configuration? What analytics are you bring to record?

NB I certainly wouldn't want to start manually deleting files from inside your app!

往日情怀 2024-12-16 10:59:48
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary*)launchOptions {   
   [FlurryAPI startSession:@"YOUR APP KEY"];
   [FlurryAPI logEvent:@"Application Started"];
   [FlurryAPI setSessionReportsOnCloseEnabled:FALSE];
   [FlurryAPI setSessionReportsOnPauseEnabled:FALSE];
}
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary*)launchOptions {   
   [FlurryAPI startSession:@"YOUR APP KEY"];
   [FlurryAPI logEvent:@"Application Started"];
   [FlurryAPI setSessionReportsOnCloseEnabled:FALSE];
   [FlurryAPI setSessionReportsOnPauseEnabled:FALSE];
}
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文