public class PacketLoggingConfigurationImpl
extends org.jitsi.service.packetlogging.PacketLoggingConfiguration
PACKET_LOGGING_ARBITRARY_ENABLED_PROPERTY_NAME, PACKET_LOGGING_ENABLED_PROPERTY_NAME, PACKET_LOGGING_FILE_COUNT_PROPERTY_NAME, PACKET_LOGGING_FILE_SIZE_PROPERTY_NAME, PACKET_LOGGING_ICE4J_ENABLED_PROPERTY_NAME, PACKET_LOGGING_JABBER_ENABLED_PROPERTY_NAME, PACKET_LOGGING_RTP_ENABLED_PROPERTY_NAME, PACKET_LOGGING_SIP_ENABLED_PROPERTY_NAME
Constructor and Description |
---|
PacketLoggingConfigurationImpl()
Creates new PacketLoggingConfiguration and load values from
configuration service and if missing uses already defined
default values.
|
Modifier and Type | Method and Description |
---|---|
void |
setGlobalLoggingEnabled(boolean enabled)
Change whether packet logging is enabled and save it in configuration.
|
void |
setIce4JLoggingEnabled(boolean enabled)
Change whether packet logging for Ice4J is enabled
and save it in configuration.
|
void |
setJabberLoggingEnabled(boolean enabled)
Change whether packet logging for jabber protocol is enabled
and save it in configuration.
|
void |
setLimit(long limit)
Changes the file size limit.
|
void |
setLogfileCount(int logfileCount)
Changes file count.
|
void |
setRTPLoggingEnabled(boolean enabled)
Change whether packet logging for RTP is enabled
and save it in configuration.
|
void |
setSipLoggingEnabled(boolean enabled)
Change whether packet logging for sip protocol is enabled
and save it in configuration.
|
PacketLoggingConfigurationImpl()
public void setGlobalLoggingEnabled(boolean enabled)
setGlobalLoggingEnabled
in class org.jitsi.service.packetlogging.PacketLoggingConfiguration
enabled
- true if we enable it.public void setSipLoggingEnabled(boolean enabled)
setSipLoggingEnabled
in class org.jitsi.service.packetlogging.PacketLoggingConfiguration
enabled
- true if we enable it.public void setJabberLoggingEnabled(boolean enabled)
setJabberLoggingEnabled
in class org.jitsi.service.packetlogging.PacketLoggingConfiguration
enabled
- true if we enable it.public void setRTPLoggingEnabled(boolean enabled)
setRTPLoggingEnabled
in class org.jitsi.service.packetlogging.PacketLoggingConfiguration
enabled
- true if we enable it.public void setIce4JLoggingEnabled(boolean enabled)
setIce4JLoggingEnabled
in class org.jitsi.service.packetlogging.PacketLoggingConfiguration
enabled
- true if we enable it.public void setLimit(long limit)
setLimit
in class org.jitsi.service.packetlogging.PacketLoggingConfiguration
limit
- the new limit size.public void setLogfileCount(int logfileCount)
setLogfileCount
in class org.jitsi.service.packetlogging.PacketLoggingConfiguration
logfileCount
- the new file count.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.