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

Force log rotation #52

Closed
poisa opened this issue Aug 19, 2012 · 1 comment
Closed

Force log rotation #52

poisa opened this issue Aug 19, 2012 · 1 comment
Milestone

Comments

@poisa
Copy link

poisa commented Aug 19, 2012

I've setup the framework and the sample compression class. Everything works fine so far. My question is that I need to find a way to focre log rotation (and compression) before uploading logs to my server if not I risk losing logged data.

How can this be done?

Thanks!

EDIT: Re-reading my initial post I think it may be misunderstood. I DO know about the rollLogFile method. The problem with that is that compressing the files takes a little while and I can't know exactly how much I have to wait before the log files are ready to be sent.

dvor added a commit to dvor/CocoaLumberjack that referenced this issue Nov 30, 2013
…DDFileLogger. 'rollLogFile' method is deprecated now.

Completion block is optional and will be called on main queue.
dvor added a commit to dvor/CocoaLumberjack that referenced this issue Dec 2, 2013
…' in DDFileLogger. 'rollLogFile' method is deprecated now.

Completion block is optional and will be called on main queue.
@rivera-ernesto
Copy link
Member

Fixed by #183.

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

No branches or pull requests

2 participants