incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-1138) Default logging level for file access should not log file contents.
Date Thu, 09 Aug 2012 23:33:18 GMT

    [ https://issues.apache.org/jira/browse/CB-1138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13432302#comment-13432302
] 

Shazron Abdullah commented on CB-1138:
--------------------------------------

Unfortunately subprojects cannot inherit macros from their parent projects.

I think I have a solution - adding a class function called setVerbose:(BOOL)verbose that by
default is NO.

In your project file, in your AppDelegate::init, to turn it on, you would do:
    [CDVPluginResult setVerbose:YES];
                
> Default logging level for file access should not log file contents.
> -------------------------------------------------------------------
>
>                 Key: CB-1138
>                 URL: https://issues.apache.org/jira/browse/CB-1138
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.0.0
>         Environment: iOS 5.0 targetting app, running in debug conf with XCode 4.3.2 (or
4.4)
>            Reporter: Koray Balci
>            Assignee: Shazron Abdullah
>              Labels: file, ios
>             Fix For: 2.1.0
>
>
> I am loading a huge text file (a few mb) using cordova file api and cordova is trying
to log each line of the text file to the console in XCode. 
> I think default logging, even in debug mode, should have a saner level.
> This was not the case in earlier versions. In default logging mode in 2.0.0 version,
I cannot even stop XCode once I run my app!!
> Also: same problem when getting all contacts. See: https://groups.google.com/forum/?fromgroups#!topic/phonegap/WTpeYf3Ji5k

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message