LogLevelScanner

wvlet.log.LogLevelScanner$

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

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

Attributes

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

Scan the specified log level file

Scan the specified log level file

Attributes

Run the default LogLevelScanner every 1 minute

Run the default LogLevelScanner every 1 minute

Attributes

Schedule the log level scanner with the given configuration.

Schedule the log level scanner with the given configuration.

Attributes

def scheduleLogLevelScan(duration: Duration): Unit

Schedule the log level scanner with the given interval

Schedule the log level scanner with the given interval

Attributes

def setLogLevels(file: File): Unit

Set log levels using a given Properties file

Set log levels using a given Properties file

Value parameters

file

Properties file

Attributes

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.

Attributes

Concrete fields