-
-
Notifications
You must be signed in to change notification settings - Fork 173
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
${DATA__DIR} seems to be an empty string #172
Comments
I confirm that some keys are empty, here is my test : <file>${DATA_DIR}/logs/${PACKAGE_NAME}/${EXT_DIR}/${PACKAGE_NAME}/${VERSION_NAME}/${VERSION_CODE}/myapp.log</file> and got in logs :
|
That's odd. When you mentioned it working, which version of Android was used? |
I can't reproduce this in the emulators. Do you have a sample project that reproduces the problem? |
I'll try to give you a sample project. I'm retesting it |
Ok, my mistake. public class App extends MultiDexApplication {
private static final LoggerHelper log = new LoggerHelper(); So it's initializing the LoggerFactory without any context because App is not loaded yet. public class App extends MultiDexApplication {
@Override
public void onCreate() {
super.onCreate();
log = new LoggerHelper();
....
}
...
} and it works as expected. Sorry for wasting your time ;) |
No problem. This is useful info that I'll add docs for. Thanks |
BTW, this problem was introduced with 1.1.1-10
|
@stari4ek In order to improve performance and remove an unnecessary dependency, |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Using v_1.1.1-11 got a new problem, I got this :
Devices are on android 4.3, 6.0.1, 8.
The text was updated successfully, but these errors were encountered: