zubairehman/Flogs

Issues with Debug logs

TheMeanCanEHdian opened this issue · 2 comments

Creating a DEBUG log does not appear to be working, or at that very least the commands to fetch logs are not grabbing them.

I have tried FLog.debug as well as FLog.logThis with a LogLevel of LogLevel.DEBUG and I am unable to fetch these results with either getAllLogs() or getAllLogsByFilter().

Is this functionality broken or no longer supported?

Thanks!

Debug log is working, but you have to set a low enough LogLevel.

..logLevelsEnabled = [
        LogLevel.ALL,
        LogLevel.TRACE,
        LogLevel.DEBUG,
        LogLevel.INFO,
        LogLevel.WARNING,
        LogLevel.ERROR,
        LogLevel.SEVERE,
        LogLevel.FATAL,
        LogLevel.OFF
      ]
..activeLogLevel = LogLevel.ALL

If the LogLevel is not set, LogLevel.INFO is used. LogLevel.DEBUG is below .INFO, therefore debug messages are not shown

Sorry for the very late response here but thank you, activeLogLevel was indeed my issue.