-
-
Notifications
You must be signed in to change notification settings - Fork 81
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
Log file is not created on Android on power shutdown #758
Comments
What is your tinylog configuration? |
Hi,
|
What path do use as According to your configuration, you don't use the writing thread nor buffering. Therefore, tinylog writes all log entries directly into the log files. Maybe there is some buffering from Android itself that prevents persisting the log file before shutdown!? |
Hi, i tried to use different locations (first the app folder, now i use No idea why it does this, but it only works if I shutdown the app manually and start it normally again. |
Do you see the log file with the log entries before the shutdown when the app is still running? Do you see the missing log entries in Logcat? |
Hi, |
Describe the bug
The Android application is not creating the log file(and not logging) when the device is forcefully shutdown(power taken off)
To Reproduce
Steps to reproduce the behavior:
Environment
tinylog version: 2.4.1
Java version: 17
The text was updated successfully, but these errors were encountered: