Forcing to roll log files (now) synchronously

43 views
Skip to first unread message

dravid27

unread,
Nov 15, 2013, 4:24:16 PM11/15/13
to cocoalu...@googlegroups.com
Hi Robbie,
Thank you for all your efforts in putting up this wonderful framework. It's been very useful for us.

I've a scenario where i want to force the log file to roll out (synchronously) even before the maxfilesize is reached so that i can upload the log to the server. I do see this public method rollLogFile that i can call. But this method puts the rollLogFileNow method call(which actually rolls the log files) on an asynchronous queue. But, I want to roll out the log file synchronously as and when i need to, so that once it's rolled out i can upload the file to the server. Can you please let me know how this can be done?

Thanks.
Reply all
Reply to author
Forward
0 new messages