noveogroup / android-logger

Useful logger for Android based on standard android.util.Log class. Simple lightweight (< 50 Kb) implementation of SLF4J API. Easy but powerful configuration via properties file and some additional helpful logging methods. Easy analogue of popular log4j library.

Home Page:https://noveogroup.github.io/android-logger

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

properties file location

platoblm opened this issue · comments

Hi,

We've tried putting the android-logger.properties file in the src folder and a lot others, but we always get the "Logger configuration file is empty. Default configuration will be used" message. Would you have any other suggestions?

We are using gradle and Android Studio if that helps.

Thank you.

Hi,
Have you tried to place android-logger.properties to "src/main/resources" directory?

src doesn't work for me, too. However, src/main/resources (but not src/main/res) does.

Please update the documentation accordingly. (And pattern examples/a reference apart from the source code would be nice.)

Thanks for your comment, I've just fixed path of properties file in the documentation.