LogLevelScanner

class Object
trait Matchable
class Any

Value members

Concrete methods

def scanLogLevels: Unit

Scan the default log level file only once. To periodically scan, use scheduleLogLevelScan

Scan the default log level file only once. To periodically scan, use scheduleLogLevelScan

def scanLogLevels(loglevelFileCandidates: Seq[String]): Unit

Scan the specified log level file

Scan the specified log level file

Run the default LogLevelScanner every 1 minute

Run the default LogLevelScanner every 1 minute

Schedule the log level scanner with the given configuration.

Schedule the log level scanner with the given configuration.

def scheduleLogLevelScan(duration: Duration): Unit

Schedule the log level scanner with the given interval

Schedule the log level scanner with the given interval

def setLogLevels(file: File): Unit

Set log levels using a given Properties file

Set log levels using a given Properties file

Value Params
file

Properties file

Terminate the log-level scanner thread. The thread will remain in the system until the next log scan schedule. This is for reusing the thread if scheduleLogLevelScan is called again in a short duration, and reduce the overhead of creating a new thread.

Terminate the log-level scanner thread. The thread will remain in the system until the next log scan schedule. This is for reusing the thread if scheduleLogLevelScan is called again in a short duration, and reduce the overhead of creating a new thread.

Concrete fields