Class JvmNamePropertyDefiner

java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.PropertyDefinerBase
gda.util.logging.JvmNamePropertyDefiner
All Implemented Interfaces:
ch.qos.logback.core.spi.ContextAware, ch.qos.logback.core.spi.PropertyDefiner

public class JvmNamePropertyDefiner extends ch.qos.logback.core.PropertyDefinerBase

A Logback PropertyDefiner that returns the JVM name, as reported by RuntimeMXBean.getName().

On Linux this is "<pid>@<hostname>", but could change in the future.

  • Field Summary

    Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase

    context
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class ch.qos.logback.core.PropertyDefinerBase

    booleanAsStr

    Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase

    addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface ch.qos.logback.core.spi.ContextAware

    addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
  • Constructor Details

    • JvmNamePropertyDefiner

      public JvmNamePropertyDefiner()
  • Method Details

    • getPropertyValue

      public String getPropertyValue()