incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <>
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


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:
>             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
>            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:!topic/phonegap/WTpeYf3Ji5k

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message