Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log file on iPhone only contains a single line #153

Closed
dlinsin opened this issue Nov 1, 2013 · 3 comments
Closed

Log file on iPhone only contains a single line #153

dlinsin opened this issue Nov 1, 2013 · 3 comments
Labels
Milestone

Comments

@dlinsin
Copy link

dlinsin commented Nov 1, 2013

Using 1.6.2 via Cocoapods.

I have a problem that my log files on my iPhone 5s running iOS 7 only contain a single line. CocoaLumberjack then rolls over to the next file and logs the next lines. This goes on until maximumNumberOfLogFiles is reached.

Note: this works fine on the Simulator

My configuration in AppDelegate looks like follows:

self.fileLogger = [[DDFileLogger alloc] init];
self.fileLogger.logFormatter = [[FFALogFormatter alloc] init]; // just customizing

[DDLog addLogger:self.fileLogger];

I've setup CocoaLumberjack a dozen times and never had problems. Any idea what this might be?

@NHagermoser
Copy link

I have notice this same issue when using the simulator and compiling for 64 bit support.There is no issue with it when compiling for 32 bit support. It looks like it is just and overflow error in the creation and rollinTimer function.

@rivera-ernesto
Copy link
Member

No we only need someone who can refactor this ;)

@rivera-ernesto
Copy link
Member

Fixed by #177.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants