You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And each time I enter the activity (without exiting the app, just going to another activity in it) it creates a new file. After entering two time to the activity I have
activity.0.0.log
activity.0.1.log
Is this expected behavior? Can I configure it to have only one (rotated) file?
The text was updated successfully, but these errors were encountered:
This is because you are initialize it every single time in your activity. Create a global instance of this variable to avoid this. Best put in your application class.
Relevant Gradle config:
I am trying to log to a file, and in my activity I have this:
And each time I enter the activity (without exiting the app, just going to another activity in it) it creates a new file. After entering two time to the activity I have
Is this expected behavior? Can I configure it to have only one (rotated) file?
The text was updated successfully, but these errors were encountered: