Questions tagged [ddfilelogger]

DDFileLogger part of CocoaLumberjack, an open source file logging package for iOS.

DDFileLogger part of CocoaLumberjack, an open source file logging package for iOS developed by Robbie Hanson. The github repository is at git: //github.com/robbiehanson/CocoaLumberjack.git. CocoaLumberjack contains several logging module, including on that logs via the Apple System Logger (DDASLLogger) and one that logs via the Xcode Console (DDTTYLogger).

4 questions
65
votes
9 answers

Where is Logfile stored using cocoaLumberjack

I am Using cocoaLumberjack logging framework for iOS logging. For storing logs in a file I used this code. DDFileLogger* fileLogger = [[DDFileLogger alloc] init]; fileLogger.rollingFrequency = 60 * 60 * 24;…
abhiasawa
  • 1,330
  • 1
  • 10
  • 20
1
vote
2 answers

Forcing to roll log files (now) synchronously in Lumberjack

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…
0
votes
0 answers

How can I configure logging in .NET Core 3.1 to write to both console and a file at the same time?

I'm having trouble configuring logging in .NET Core 3.1 to write to both console and a file simultaneously. Specifically, I want to log messages to the console for real-time monitoring, and also write the same messages to a file for later analysis.…
0
votes
1 answer

iOS CocoaLumberjack: New log file is creating on every time app launch, if backgroundModes enabled and app running in simulator

I have configured library like below let fileLogger: DDFileLogger = DDFileLogger() fileLogger.rollingFrequency = -1 fileLogger.maximumFileSize = 1024 * 1024 fileLogger.logFileManager.maximumNumberOfLogFiles = 7 …
Logger
  • 1,274
  • 1
  • 14
  • 25