A C D E F G H I L M N O P R S T U V 
All Classes All Packages

A

addRejectedMessage(String) - Method in class com.yahoo.log.RejectFilter
 

C

checkBack() - Method in interface com.yahoo.log.LevelController
check the current state of logging and reflect it into the associated Logger instance, if available.
cleanup() - Static method in class com.yahoo.log.LogSetup
Returns the log handler set up by this class
clearHandlers() - Static method in class com.yahoo.log.LogSetup
 
close() - Method in class com.yahoo.log.FileLogTarget
 
close() - Method in interface com.yahoo.log.LevelControllerRepo
Close down the level controller repository.
close() - Method in interface com.yahoo.log.LogTarget
Close the log target, ensuring that all data is written.
close() - Method in class com.yahoo.log.StderrLogTarget
 
close() - Method in class com.yahoo.log.StdoutLogTarget
 
close() - Method in class com.yahoo.log.VespaLevelControllerRepo
 
Collection - Class in com.yahoo.log.event
 
Collection() - Constructor for class com.yahoo.log.event.Collection
 
Collection(long, String) - Constructor for class com.yahoo.log.event.Collection
 
com.yahoo.log - package com.yahoo.log
 
com.yahoo.log.event - package com.yahoo.log.event
 
compare(LogMessage, LogMessage) - Method in class com.yahoo.log.LogMessageTimeComparator
 
count(String, long) - Static method in class com.yahoo.log.event.Event
Static method for logging the count event.
Count - Class in com.yahoo.log.event
 
Count() - Constructor for class com.yahoo.log.event.Count
 
Count(String, double) - Constructor for class com.yahoo.log.event.Count
 
countGroup(String, String) - Static method in class com.yahoo.log.event.Event
Static method for logging a set of count events.
CountGroup - Class in com.yahoo.log.event
 
CountGroup() - Constructor for class com.yahoo.log.event.CountGroup
 
CountGroup(String, String) - Constructor for class com.yahoo.log.event.CountGroup
 
crash(String, int, int) - Static method in class com.yahoo.log.event.Event
Static method for logging the crash event.
Crash - Class in com.yahoo.log.event
 
Crash() - Constructor for class com.yahoo.log.event.Crash
 
Crash(String, int, int) - Constructor for class com.yahoo.log.event.Crash
 
createDefaultRejectFilter() - Static method in class com.yahoo.log.RejectFilter
 

D

DEBUG - Static variable in class com.yahoo.log.LogLevel
 

E

equals(Object) - Method in class com.yahoo.log.LogMessage
 
ERROR - Static variable in class com.yahoo.log.LogLevel
 
escape(String) - Static method in class com.yahoo.log.VespaFormat
This static method is used to detect if a message needs to be escaped, and if so, performs the escaping.
Event - Class in com.yahoo.log.event
The Event class is the base class for all VESPA defined events.
Event() - Constructor for class com.yahoo.log.event.Event
 
EVENT - Static variable in class com.yahoo.log.LogLevel
 

F

FATAL - Static variable in class com.yahoo.log.LogLevel
 
FileLogTarget - Class in com.yahoo.log
 
FileLogTarget(File) - Constructor for class com.yahoo.log.FileLogTarget
 
format(String, String, String, long, String, String, String, Throwable) - Static method in class com.yahoo.log.VespaFormat
Deprecated, for removal: This API element is subject to removal in a future version.
format(LogRecord) - Method in class com.yahoo.log.VespaFormatter
 
formatException(Throwable, StringBuilder) - Static method in class com.yahoo.log.VespaFormat
Deprecated, for removal: This API element is subject to removal in a future version.
formatTime(long, StringBuilder) - Static method in class com.yahoo.log.VespaFormat
Deprecated, for removal: This API element is subject to removal in a future version.
formatTime(Instant) - Static method in class com.yahoo.log.VespaFormat
 

G

getComponent() - Method in class com.yahoo.log.LogMessage
 
getEvent() - Method in class com.yahoo.log.LogMessage
If the LogMessage was an EVENT then this method can be used to get the Event instance representing the event.
getHost() - Method in class com.yahoo.log.LogMessage
 
getHostName() - Static method in class com.yahoo.log.Util
 
getLevel() - Method in class com.yahoo.log.LogMessage
 
getLevelController(String) - Method in interface com.yahoo.log.LevelControllerRepo
Return the level controller for a given component.
getLevelController(String) - Method in class com.yahoo.log.VespaLevelControllerRepo
 
getLevelLimit() - Method in interface com.yahoo.log.LevelController
 
getLevels() - Static method in class com.yahoo.log.LogLevel
Static method returning a map from Vespa level name to Level
getLogHandler() - Static method in class com.yahoo.log.LogSetup
Returns the log handler set up by this class
getName() - Method in class com.yahoo.log.event.Event
Get the name of the event instance.
getName() - Method in class com.yahoo.log.event.Unknown
 
getOnOffString() - Method in interface com.yahoo.log.LevelController
return a string suitable for printing in a logctl file.
getPayload() - Method in class com.yahoo.log.LogMessage
 
getPID() - Static method in class com.yahoo.log.Util
 
getProcessId() - Method in class com.yahoo.log.LogMessage
 
getService() - Method in class com.yahoo.log.LogMessage
 
getServiceName() - Method in class com.yahoo.log.VespaFormatter
Get the service name for this formatter.
getTaskRunner() - Static method in class com.yahoo.log.LogSetup
A global task thread
getThreadId() - Method in class com.yahoo.log.LogMessage
 
getThreadProcess() - Method in class com.yahoo.log.LogMessage
Deprecated, for removal: This API element is subject to removal in a future version.
getTime() - Method in class com.yahoo.log.event.Event
Get the timestamp of this event
getTime() - Method in class com.yahoo.log.LogMessage
Deprecated, for removal: This API element is subject to removal in a future version.
getTimeInSeconds() - Method in class com.yahoo.log.LogMessage
Deprecated, for removal: This API element is subject to removal in a future version.
getTimestamp() - Method in class com.yahoo.log.LogMessage
 
getValue(String) - Method in class com.yahoo.log.event.Event
Get a property value.
getValuePossiblyQuote(String) - Method in class com.yahoo.log.event.Event
Convenience method which returns a property.
getVersion() - Method in class com.yahoo.log.event.Event
Get the event version.
getVespaLogLevel(Level) - Static method in class com.yahoo.log.LogLevel
Static method for mapping Java log level to VESPA log level.

H

hashCode() - Method in class com.yahoo.log.LogMessage
 
histogram(String, String, String) - Static method in class com.yahoo.log.event.Event
Static method for logging the histogram event.
Histogram - Class in com.yahoo.log.event
 
Histogram() - Constructor for class com.yahoo.log.event.Histogram
 
Histogram(String, String, String) - Constructor for class com.yahoo.log.event.Histogram
 

I

initVespaLogging(String) - Static method in class com.yahoo.log.LogSetup
Every Vespa application should call initVespaLogging exactly one time.
IntValCONFIG - Static variable in class com.yahoo.log.LogLevel
 
IntValDEBUG - Static variable in class com.yahoo.log.LogLevel
 
IntValERROR - Static variable in class com.yahoo.log.LogLevel
 
IntValEVENT - Static variable in class com.yahoo.log.LogLevel
 
IntValFATAL - Static variable in class com.yahoo.log.LogLevel
 
IntValFINE - Static variable in class com.yahoo.log.LogLevel
 
IntValFINER - Static variable in class com.yahoo.log.LogLevel
 
IntValFINEST - Static variable in class com.yahoo.log.LogLevel
 
IntValINFO - Static variable in class com.yahoo.log.LogLevel
 
IntValSEVERE - Static variable in class com.yahoo.log.LogLevel
 
IntValSPAM - Static variable in class com.yahoo.log.LogLevel
 
IntValUNKNOWN - Static variable in class com.yahoo.log.LogLevel
 
IntValWARNING - Static variable in class com.yahoo.log.LogLevel
 
InvalidLogFormatException - Exception in com.yahoo.log
This (checked) exception is used to flag invalid log messages, primarily for use in the factory methods of LogMessage.
InvalidLogFormatException() - Constructor for exception com.yahoo.log.InvalidLogFormatException
 
InvalidLogFormatException(String) - Constructor for exception com.yahoo.log.InvalidLogFormatException
 
InvalidLogFormatException(String, Throwable) - Constructor for exception com.yahoo.log.InvalidLogFormatException
 

L

LevelController - Interface in com.yahoo.log
This is the interface for controlling the log level of a component logger.
LevelControllerRepo - Interface in com.yahoo.log
The level controller repository is an interface towards something that is able to provide level controllers for a given component.
LogCtlCONFIG - Static variable in class com.yahoo.log.LogLevel
 
LogCtlDEBUG - Static variable in class com.yahoo.log.LogLevel
 
LogCtlERROR - Static variable in class com.yahoo.log.LogLevel
 
LogCtlEVENT - Static variable in class com.yahoo.log.LogLevel
 
LogCtlFATAL - Static variable in class com.yahoo.log.LogLevel
 
LogCtlINFO - Static variable in class com.yahoo.log.LogLevel
 
LogCtlNumLevels - Static variable in class com.yahoo.log.LogLevel
 
LogCtlSPAM - Static variable in class com.yahoo.log.LogLevel
 
LogCtlWARNING - Static variable in class com.yahoo.log.LogLevel
 
LogFileDb - Class in com.yahoo.log
 
LogFileDb() - Constructor for class com.yahoo.log.LogFileDb
 
LogLevel - Class in com.yahoo.log
Note that the log levels defined in VESPA applications are the following.
LogMessage - Class in com.yahoo.log
This class implements the common ground log message used by the logserver.
LogMessageTimeComparator - Class in com.yahoo.log
Order LogMessage instances based on timestamp.
LogMessageTimeComparator() - Constructor for class com.yahoo.log.LogMessageTimeComparator
Create a Time comparator for logmessages.
LogMessageTimeComparator(boolean) - Constructor for class com.yahoo.log.LogMessageTimeComparator
Create a Time comparator for logmessages.
LogSetup - Class in com.yahoo.log
Sets up Vespa logging.
LogSetup() - Constructor for class com.yahoo.log.LogSetup
 
LogTarget - Interface in com.yahoo.log
 

M

MalformedEventException - Exception in com.yahoo.log.event
 
MalformedEventException() - Constructor for exception com.yahoo.log.event.MalformedEventException
 
MalformedEventException(String) - Constructor for exception com.yahoo.log.event.MalformedEventException
 
MalformedEventException(Throwable) - Constructor for exception com.yahoo.log.event.MalformedEventException
 

N

nowLoggingTo(String) - Static method in class com.yahoo.log.LogFileDb
 

O

of(Instant, String, long, long, String, String, Level, String) - Static method in class com.yahoo.log.LogMessage
 
open() - Method in class com.yahoo.log.FileLogTarget
 
open() - Method in interface com.yahoo.log.LogTarget
Opens an output stream for the target.
open() - Method in class com.yahoo.log.StderrLogTarget
 
open() - Method in class com.yahoo.log.StdoutLogTarget
 

P

parse(String) - Static method in class com.yahoo.log.event.Event
Parse string representation of Event and emit correct Event subtype.
parse(String) - Static method in class com.yahoo.log.LogLevel
Semi-Case sensitive parsing of log levels.
parseNativeFormat(String) - Static method in class com.yahoo.log.LogMessage
Make a log message from the native format of the logging package.
progress(String, long, long) - Static method in class com.yahoo.log.event.Event
Static method for logging the progress event.
Progress - Class in com.yahoo.log.event
 
Progress() - Constructor for class com.yahoo.log.event.Progress
 
Progress(String, double) - Constructor for class com.yahoo.log.event.Progress
 
Progress(String, double, double) - Constructor for class com.yahoo.log.event.Progress
 
Progress(String, String) - Constructor for class com.yahoo.log.event.Progress
 
Progress(String, String, String) - Constructor for class com.yahoo.log.event.Progress
 

R

RejectFilter - Class in com.yahoo.log
A RejectFilter can be queried to see if a log message should be rejected.
RejectFilter() - Constructor for class com.yahoo.log.RejectFilter
 
reloaded(String) - Static method in class com.yahoo.log.event.Event
Static method for logging the reloaded event.
Reloaded - Class in com.yahoo.log.event
 
Reloaded() - Constructor for class com.yahoo.log.event.Reloaded
 
Reloaded(String) - Constructor for class com.yahoo.log.event.Reloaded
 
reloading(String) - Static method in class com.yahoo.log.event.Event
Static method for logging the reloading event.
Reloading - Class in com.yahoo.log.event
 
Reloading() - Constructor for class com.yahoo.log.event.Reloading
 
Reloading(String) - Constructor for class com.yahoo.log.event.Reloading
 

S

serviceNameUnsetValue - Static variable in class com.yahoo.log.VespaFormatter
 
setName(String) - Method in class com.yahoo.log.event.Unknown
 
setServiceName(String) - Method in class com.yahoo.log.VespaFormatter
Set the service name (usually the VESPA config-id) of this formatter.
setTime(long) - Method in class com.yahoo.log.event.Event
Set the timestamp of this event.
setValue(String, String) - Method in class com.yahoo.log.event.Count
Set a property.
setValue(String, String) - Method in class com.yahoo.log.event.Event
Set a property.
setVersion(int) - Method in class com.yahoo.log.event.Event
Set event version
shouldLog(Level) - Method in interface com.yahoo.log.LevelController
should we actually publish a log message with the given Level now?
shouldReject(String) - Method in class com.yahoo.log.RejectFilter
 
SPAM - Static variable in class com.yahoo.log.LogLevel
 
started(String) - Static method in class com.yahoo.log.event.Event
Static method for logging the started event.
Started - Class in com.yahoo.log.event
 
Started() - Constructor for class com.yahoo.log.event.Started
 
Started(String) - Constructor for class com.yahoo.log.event.Started
 
starting(String) - Static method in class com.yahoo.log.event.Event
Static method for logging the starting event.
Starting - Class in com.yahoo.log.event
 
Starting() - Constructor for class com.yahoo.log.event.Starting
 
Starting(String) - Constructor for class com.yahoo.log.event.Starting
 
state(String, String) - Static method in class com.yahoo.log.event.Event
Static method for logging the state event.
State - Class in com.yahoo.log.event
 
State() - Constructor for class com.yahoo.log.event.State
 
State(String, String) - Constructor for class com.yahoo.log.event.State
 
StderrLogTarget - Class in com.yahoo.log
 
StderrLogTarget() - Constructor for class com.yahoo.log.StderrLogTarget
 
StdoutLogTarget - Class in com.yahoo.log
 
StdoutLogTarget() - Constructor for class com.yahoo.log.StdoutLogTarget
 
stopped(String, int, int) - Static method in class com.yahoo.log.event.Event
Static method for logging the stopped event.
Stopped - Class in com.yahoo.log.event
 
Stopped() - Constructor for class com.yahoo.log.event.Stopped
 
Stopped(String, int, int) - Constructor for class com.yahoo.log.event.Stopped
 
stopping(String, String) - Static method in class com.yahoo.log.event.Event
Static method for logging the stopping event.
Stopping - Class in com.yahoo.log.event
 
Stopping() - Constructor for class com.yahoo.log.event.Stopping
 
Stopping(String, String) - Constructor for class com.yahoo.log.event.Stopping
 

T

toMessageString(Throwable) - Static method in class com.yahoo.log.VespaFormatter
 
toString() - Method in class com.yahoo.log.event.Event
This method returns the string representation of the event and must return something that can be parsed by the parse method.
toString() - Method in class com.yahoo.log.FileLogTarget
 
toString() - Method in class com.yahoo.log.LogMessage
Return valid representation of log message.

U

unEscape(String) - Static method in class com.yahoo.log.VespaFormatter
Un-escapes previously escaped string.
Unknown - Class in com.yahoo.log.event
 
Unknown() - Constructor for class com.yahoo.log.event.Unknown
 
UNKNOWN - Static variable in class com.yahoo.log.LogLevel
 
Util - Class in com.yahoo.log
 
Util() - Constructor for class com.yahoo.log.Util
 

V

value(String, double) - Static method in class com.yahoo.log.event.Event
Static method for logging the value event.
Value - Class in com.yahoo.log.event
 
Value() - Constructor for class com.yahoo.log.event.Value
 
Value(String, double) - Constructor for class com.yahoo.log.event.Value
 
valueGroup(String, String) - Static method in class com.yahoo.log.event.Event
Static method for logging a set of value events.
ValueGroup - Class in com.yahoo.log.event
 
ValueGroup() - Constructor for class com.yahoo.log.event.ValueGroup
 
ValueGroup(String, String) - Constructor for class com.yahoo.log.event.ValueGroup
 
VespaFormat - Class in com.yahoo.log
Vespa log formatting utility methods.
VespaFormat() - Constructor for class com.yahoo.log.VespaFormat
 
VespaFormatter - Class in com.yahoo.log
This class implements a log formatter which takes care of formatting messages according to the VESPA common log format.
VespaFormatter() - Constructor for class com.yahoo.log.VespaFormatter
Default constructor
VespaFormatter(String, String) - Constructor for class com.yahoo.log.VespaFormatter
 
VespaLevelControllerRepo - Class in com.yahoo.log
 
A C D E F G H I L M N O P R S T U V 
All Classes All Packages