There are a couple of things to check when logs are not being sent to the server:
- Is this the first time you are using Bugfender? If you just installed the SDK maybe there are logs in the console that show what's going wrong.
- Is the device active? You can enable/disable all devices or individual devices, make sure the device you are trying to see logs from is active.
- Have you reached the daily limit of logs? Especially on the free account, it is possible that you reach the limit of daily logs. At this point, devices will not send logs for the rest of the day even if they are enabled.
- Are you using the latest version of the SDK? You might be experiencing a known bug that has already been solved in a recent version of the SDK.
- Did the user close the application quickly before generating the logs? Bear in mind that logs are being sent in batches, usually every 15 seconds. Also the SDK is not sending logs when the application is in background in order to save battery. They will be sent upon the next execution of the application.
- In iOS, are you using a logging framework or BFLog for logging? If you are using NSLog it will not work (here is why).
- In Xamarin Android, are you using Trace to log? If you are using Debug, these logs are removed in production builds.
Still not working?
If you have checked all of this, please contact us and provide as much information as possible. For example, indicate if this is the first time you're using Bugfender or if the problem happens with only one device, the time range when this device should be sending logs, etc. We will look into it.