renamed to org.graylog2.syslog4j, to have cleaner dependencies in our products

this library is unlikely to be developed further, but is a candidate for a complete rewrite.
nevertheless it wasn't available in maven for our purposes, so we decided to repackage it.
This commit is contained in:
Kay Roepke 2014-06-16 11:41:49 +02:00
parent 581e9cd082
commit e484aaecec
103 changed files with 395 additions and 377 deletions

View File

24
pom.xml
View File

@ -2,14 +2,32 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.productivity.java</groupId>
<artifactId>syslog4j-graylog2</artifactId>
<version>0.9.48-graylog2</version>
<groupId>org.graylog2</groupId>
<artifactId>syslog4j</artifactId>
<version>0.9.48</version>
<packaging>jar</packaging>
<name>syslog4j-graylog2</name>
<url>http://maven.apache.org</url>
<licenses>
<license>
<name>LGPL</name>
<url>http://www.gnu.org/licenses/lgpl-2.1.html</url>
</license>
</licenses>
<description>Syslog4j provides client and server implementations of the BSD Syslog protocol (RFC 3164) and the draft "structured syslog" protocol (RFC Draft).
This is a repackaged fork used in Graylog2, as the original package has no recent versions published to Maven Central.
</description>
<scm>
<url>https://github.com/Graylog2/syslog4j-graylog2</url>
<connection>scm:git:git://github.com/Graylog2/syslog4j-graylog2.git</connection>
<developerConnection>scm:git:ssh://git@github.com:Graylog2/syslog4j-graylog2.git</developerConnection>
<tag>HEAD</tag>
</scm>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

View File

@ -1,16 +1,16 @@
package org.productivity.java.syslog4j;
package org.graylog2.syslog4j;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import org.productivity.java.syslog4j.impl.net.tcp.TCPNetSyslogConfig;
import org.productivity.java.syslog4j.impl.net.udp.UDPNetSyslogConfig;
import org.productivity.java.syslog4j.impl.unix.UnixSyslogConfig;
import org.productivity.java.syslog4j.impl.unix.socket.UnixSocketSyslogConfig;
import org.productivity.java.syslog4j.util.OSDetectUtility;
import org.productivity.java.syslog4j.util.SyslogUtility;
import org.graylog2.syslog4j.impl.net.tcp.TCPNetSyslogConfig;
import org.graylog2.syslog4j.impl.net.udp.UDPNetSyslogConfig;
import org.graylog2.syslog4j.impl.unix.UnixSyslogConfig;
import org.graylog2.syslog4j.impl.unix.socket.UnixSocketSyslogConfig;
import org.graylog2.syslog4j.util.OSDetectUtility;
import org.graylog2.syslog4j.util.SyslogUtility;
/**
* This class provides a Singleton interface for Syslog4j client implementations.

View File

@ -1,4 +1,4 @@
package org.productivity.java.syslog4j;
package org.graylog2.syslog4j;
/**
* Syslog4jVersion provides a unique version identifier that is created during
@ -12,5 +12,5 @@ package org.productivity.java.syslog4j;
* @version $Id: Syslog4jVersion.java,v 1.2 2008/10/28 01:07:06 cvs Exp $
*/
public final class Syslog4jVersion {
public static final String VERSION = "Syslog4j 0.9.46 2011-01-23 14:49:24 jpy";
public static final String VERSION = "Syslog4j-graylog2 0.9.48 kroepke";
}

View File

@ -1,4 +1,4 @@
package org.productivity.java.syslog4j;
package org.graylog2.syslog4j;
/**
* SyslogBackLogHandlerIF provides a last-chance mechanism to log messages that fail

View File

@ -1,4 +1,4 @@
package org.productivity.java.syslog4j;
package org.graylog2.syslog4j;
import java.io.Serializable;

View File

@ -1,4 +1,4 @@
package org.productivity.java.syslog4j;
package org.graylog2.syslog4j;
/**
* SyslogConfigIF provides a common, extensible configuration interface for all

View File

@ -1,4 +1,4 @@
package org.productivity.java.syslog4j;
package org.graylog2.syslog4j;
import java.io.Serializable;

View File

@ -1,4 +1,4 @@
package org.productivity.java.syslog4j;
package org.graylog2.syslog4j;
/**
* SyslogIF provides a common interface for all Syslog4j client implementations.

View File

@ -1,12 +1,12 @@
package org.productivity.java.syslog4j;
package org.graylog2.syslog4j;
import org.graylog2.syslog4j.util.SyslogUtility;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.InputStream;
import java.io.InputStreamReader;
import org.productivity.java.syslog4j.util.SyslogUtility;
/**
* This class provides a command-line interface for Syslog4j
* server implementations.

View File

@ -1,4 +1,4 @@
package org.productivity.java.syslog4j;
package org.graylog2.syslog4j;
import java.io.Serializable;

View File

@ -1,4 +1,4 @@
package org.productivity.java.syslog4j;
package org.graylog2.syslog4j;
/**
* SyslogMessageModifierConfigIF provides a common configuration interface for all

View File

@ -1,4 +1,4 @@
package org.productivity.java.syslog4j;
package org.graylog2.syslog4j;
/**
* SyslogMessageModifierIF provides a common interface for all

View File

@ -1,4 +1,4 @@
package org.productivity.java.syslog4j;
package org.graylog2.syslog4j;
import java.io.Serializable;

View File

@ -1,4 +1,4 @@
package org.productivity.java.syslog4j;
package org.graylog2.syslog4j;
import java.io.Serializable;

View File

@ -1,4 +1,4 @@
package org.productivity.java.syslog4j;
package org.graylog2.syslog4j;
/**
* SyslogRuntimeException provides an extension of RuntimeException thrown

View File

@ -1,20 +1,20 @@
package org.productivity.java.syslog4j.impl;
package org.graylog2.syslog4j.impl;
import java.util.ArrayList;
import java.util.List;
import org.productivity.java.syslog4j.SyslogBackLogHandlerIF;
import org.productivity.java.syslog4j.SyslogConfigIF;
import org.productivity.java.syslog4j.SyslogIF;
import org.productivity.java.syslog4j.SyslogMessageIF;
import org.productivity.java.syslog4j.SyslogMessageModifierIF;
import org.productivity.java.syslog4j.SyslogMessageProcessorIF;
import org.productivity.java.syslog4j.SyslogRuntimeException;
import org.productivity.java.syslog4j.impl.message.processor.SyslogMessageProcessor;
import org.productivity.java.syslog4j.impl.message.processor.structured.StructuredSyslogMessageProcessor;
import org.productivity.java.syslog4j.impl.message.structured.StructuredSyslogMessage;
import org.productivity.java.syslog4j.impl.message.structured.StructuredSyslogMessageIF;
import org.productivity.java.syslog4j.util.SyslogUtility;
import org.graylog2.syslog4j.SyslogBackLogHandlerIF;
import org.graylog2.syslog4j.SyslogConfigIF;
import org.graylog2.syslog4j.SyslogIF;
import org.graylog2.syslog4j.SyslogMessageIF;
import org.graylog2.syslog4j.SyslogMessageModifierIF;
import org.graylog2.syslog4j.SyslogMessageProcessorIF;
import org.graylog2.syslog4j.SyslogRuntimeException;
import org.graylog2.syslog4j.impl.message.processor.SyslogMessageProcessor;
import org.graylog2.syslog4j.impl.message.processor.structured.StructuredSyslogMessageProcessor;
import org.graylog2.syslog4j.impl.message.structured.StructuredSyslogMessage;
import org.graylog2.syslog4j.impl.message.structured.StructuredSyslogMessageIF;
import org.graylog2.syslog4j.util.SyslogUtility;
/**
* AbstractSyslog provides a base abstract implementation of the SyslogIF.

View File

@ -1,13 +1,13 @@
package org.productivity.java.syslog4j.impl;
package org.graylog2.syslog4j.impl;
import java.util.ArrayList;
import java.util.List;
import org.productivity.java.syslog4j.SyslogBackLogHandlerIF;
import org.productivity.java.syslog4j.SyslogMessageModifierIF;
import org.productivity.java.syslog4j.SyslogRuntimeException;
import org.productivity.java.syslog4j.impl.backlog.printstream.SystemErrSyslogBackLogHandler;
import org.productivity.java.syslog4j.util.SyslogUtility;
import org.graylog2.syslog4j.SyslogBackLogHandlerIF;
import org.graylog2.syslog4j.SyslogMessageModifierIF;
import org.graylog2.syslog4j.SyslogRuntimeException;
import org.graylog2.syslog4j.impl.backlog.printstream.SystemErrSyslogBackLogHandler;
import org.graylog2.syslog4j.util.SyslogUtility;
/**
* AbstractSyslog provides a base abstract implementation of the SyslogConfigIF

View File

@ -1,8 +1,8 @@
package org.productivity.java.syslog4j.impl;
package org.graylog2.syslog4j.impl;
import java.util.List;
import org.productivity.java.syslog4j.SyslogConfigIF;
import org.graylog2.syslog4j.SyslogConfigIF;
/**
* AbstractSyslogConfigIF provides an interface for all Abstract Syslog

View File

@ -1,12 +1,12 @@
package org.productivity.java.syslog4j.impl;
package org.graylog2.syslog4j.impl;
import java.io.Serializable;
import java.util.LinkedList;
import java.util.List;
import org.productivity.java.syslog4j.SyslogConstants;
import org.productivity.java.syslog4j.SyslogRuntimeException;
import org.productivity.java.syslog4j.util.SyslogUtility;
import org.graylog2.syslog4j.SyslogConstants;
import org.graylog2.syslog4j.SyslogRuntimeException;
import org.graylog2.syslog4j.util.SyslogUtility;
/**
* AbstractSyslogWriter is an implementation of Runnable that supports sending

View File

@ -1,8 +1,8 @@
package org.productivity.java.syslog4j.impl.backlog;
package org.graylog2.syslog4j.impl.backlog;
import org.productivity.java.syslog4j.SyslogBackLogHandlerIF;
import org.productivity.java.syslog4j.SyslogIF;
import org.productivity.java.syslog4j.util.SyslogUtility;
import org.graylog2.syslog4j.SyslogBackLogHandlerIF;
import org.graylog2.syslog4j.SyslogIF;
import org.graylog2.syslog4j.util.SyslogUtility;
/**
* AbstractSyslogBackLogHandler is an implementation of SyslogBackLogHandlerIF

View File

@ -1,7 +1,7 @@
package org.productivity.java.syslog4j.impl.backlog;
package org.graylog2.syslog4j.impl.backlog;
import org.productivity.java.syslog4j.SyslogBackLogHandlerIF;
import org.productivity.java.syslog4j.SyslogIF;
import org.graylog2.syslog4j.SyslogBackLogHandlerIF;
import org.graylog2.syslog4j.SyslogIF;
/**
* NullSyslogBackLogHandler can be used if there's no need for a last-chance

View File

@ -1,9 +1,9 @@
package org.productivity.java.syslog4j.impl.backlog;
package org.graylog2.syslog4j.impl.backlog;
import org.productivity.java.syslog4j.Syslog;
import org.productivity.java.syslog4j.SyslogConstants;
import org.productivity.java.syslog4j.SyslogIF;
import org.productivity.java.syslog4j.SyslogRuntimeException;
import org.graylog2.syslog4j.Syslog;
import org.graylog2.syslog4j.SyslogConstants;
import org.graylog2.syslog4j.SyslogIF;
import org.graylog2.syslog4j.SyslogRuntimeException;
/**
* Syslog4jBackLogHandler is used to send Syslog backLog messages to

View File

@ -1,12 +1,12 @@
package org.productivity.java.syslog4j.impl.backlog.log4j;
package org.graylog2.syslog4j.impl.backlog.log4j;
import org.apache.log4j.Level;
import org.apache.log4j.Logger;
import org.apache.log4j.spi.LoggerFactory;
import org.productivity.java.syslog4j.SyslogConstants;
import org.productivity.java.syslog4j.SyslogIF;
import org.productivity.java.syslog4j.SyslogRuntimeException;
import org.productivity.java.syslog4j.impl.backlog.AbstractSyslogBackLogHandler;
import org.graylog2.syslog4j.SyslogConstants;
import org.graylog2.syslog4j.SyslogIF;
import org.graylog2.syslog4j.SyslogRuntimeException;
import org.graylog2.syslog4j.impl.backlog.AbstractSyslogBackLogHandler;
/**
* Log4jSyslogBackLogHandler is used to send Syslog backLog messages to

View File

@ -1,10 +1,10 @@
package org.productivity.java.syslog4j.impl.backlog.printstream;
package org.graylog2.syslog4j.impl.backlog.printstream;
import java.io.PrintStream;
import org.productivity.java.syslog4j.SyslogIF;
import org.productivity.java.syslog4j.SyslogRuntimeException;
import org.productivity.java.syslog4j.impl.backlog.AbstractSyslogBackLogHandler;
import org.graylog2.syslog4j.SyslogIF;
import org.graylog2.syslog4j.SyslogRuntimeException;
import org.graylog2.syslog4j.impl.backlog.AbstractSyslogBackLogHandler;
/**
* PrintStreamSyslogBackLogHandler provides a last-chance mechanism to log messages that fail

View File

@ -1,6 +1,6 @@
package org.productivity.java.syslog4j.impl.backlog.printstream;
package org.graylog2.syslog4j.impl.backlog.printstream;
import org.productivity.java.syslog4j.SyslogBackLogHandlerIF;
import org.graylog2.syslog4j.SyslogBackLogHandlerIF;
/**
* SystemErrSyslogBackLogHandler provides a last-chance mechanism to log messages that fail

View File

@ -1,6 +1,6 @@
package org.productivity.java.syslog4j.impl.backlog.printstream;
package org.graylog2.syslog4j.impl.backlog.printstream;
import org.productivity.java.syslog4j.SyslogBackLogHandlerIF;
import org.graylog2.syslog4j.SyslogBackLogHandlerIF;
/**
* SystemOutSyslogBackLogHandler provides a last-chance mechanism to log messages that fail

View File

@ -1,4 +1,4 @@
package org.productivity.java.syslog4j.impl.log4j;
package org.graylog2.syslog4j.impl.log4j;
import org.apache.log4j.helpers.LogLog;
@ -11,7 +11,7 @@ import org.apache.log4j.helpers.LogLog;
*
* <pre>
* <code>
&lt;appender name="Syslog4j" class="org.productivity.java.syslog4j.impl.log4j.Syslog4jAppender"&gt;
&lt;appender name="Syslog4j" class="org.graylog2.syslog4j.impl.log4j.Syslog4jAppender"&gt;
&lt;param name="Facility" value="user"/&gt;
&lt;param name="Protocol" value="tcp"/&gt;
&lt;param name="Host" value="192.168.0.1"/&gt;

View File

@ -1,14 +1,14 @@
package org.productivity.java.syslog4j.impl.log4j;
package org.graylog2.syslog4j.impl.log4j;
import org.apache.log4j.AppenderSkeleton;
import org.apache.log4j.helpers.LogLog;
import org.apache.log4j.spi.LoggingEvent;
import org.productivity.java.syslog4j.Syslog;
import org.productivity.java.syslog4j.SyslogConstants;
import org.productivity.java.syslog4j.SyslogIF;
import org.productivity.java.syslog4j.SyslogRuntimeException;
import org.productivity.java.syslog4j.impl.AbstractSyslogConfigIF;
import org.productivity.java.syslog4j.util.SyslogUtility;
import org.graylog2.syslog4j.Syslog;
import org.graylog2.syslog4j.SyslogConstants;
import org.graylog2.syslog4j.SyslogIF;
import org.graylog2.syslog4j.SyslogRuntimeException;
import org.graylog2.syslog4j.impl.AbstractSyslogConfigIF;
import org.graylog2.syslog4j.util.SyslogUtility;
/**
* Syslog4jAppenderSkeleton provides an extensible Log4j Appender wrapper for Syslog4j.

View File

@ -1,11 +1,11 @@
package org.productivity.java.syslog4j.impl.message;
package org.graylog2.syslog4j.impl.message;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.productivity.java.syslog4j.SyslogMessageIF;
import org.graylog2.syslog4j.SyslogMessageIF;
/**
* AbstractSyslogMessage provides support for turning POJO (Plain Ol'

View File

@ -1,7 +1,7 @@
package org.productivity.java.syslog4j.impl.message.modifier;
package org.graylog2.syslog4j.impl.message.modifier;
import org.productivity.java.syslog4j.SyslogMessageModifierConfigIF;
import org.productivity.java.syslog4j.SyslogMessageModifierIF;
import org.graylog2.syslog4j.SyslogMessageModifierConfigIF;
import org.graylog2.syslog4j.SyslogMessageModifierIF;
public abstract class AbstractSyslogMessageModifier implements SyslogMessageModifierIF {
private static final long serialVersionUID = 7632959170109372003L;

View File

@ -1,8 +1,8 @@
package org.productivity.java.syslog4j.impl.message.modifier;
package org.graylog2.syslog4j.impl.message.modifier;
import org.productivity.java.syslog4j.SyslogCharSetIF;
import org.productivity.java.syslog4j.SyslogConstants;
import org.productivity.java.syslog4j.SyslogMessageModifierConfigIF;
import org.graylog2.syslog4j.SyslogCharSetIF;
import org.graylog2.syslog4j.SyslogConstants;
import org.graylog2.syslog4j.SyslogMessageModifierConfigIF;
/**
* AbstractSyslogMessageModifierConfig provides a base abstract implementation of the

View File

@ -1,9 +1,9 @@
package org.productivity.java.syslog4j.impl.message.modifier.checksum;
package org.graylog2.syslog4j.impl.message.modifier.checksum;
import org.productivity.java.syslog4j.SyslogIF;
import org.productivity.java.syslog4j.SyslogRuntimeException;
import org.productivity.java.syslog4j.impl.message.modifier.AbstractSyslogMessageModifier;
import org.productivity.java.syslog4j.util.SyslogUtility;
import org.graylog2.syslog4j.SyslogIF;
import org.graylog2.syslog4j.SyslogRuntimeException;
import org.graylog2.syslog4j.impl.message.modifier.AbstractSyslogMessageModifier;
import org.graylog2.syslog4j.util.SyslogUtility;
/**
* ChecksumSyslogMessageModifier is an implementation of SyslogMessageModifierIF

View File

@ -1,10 +1,10 @@
package org.productivity.java.syslog4j.impl.message.modifier.checksum;
package org.graylog2.syslog4j.impl.message.modifier.checksum;
import java.util.zip.Adler32;
import java.util.zip.CRC32;
import java.util.zip.Checksum;
import org.productivity.java.syslog4j.impl.message.modifier.AbstractSyslogMessageModifierConfig;
import org.graylog2.syslog4j.impl.message.modifier.AbstractSyslogMessageModifierConfig;
/**
* ChecksumSyslogMessageModifierConfig is an implementation of AbstractSyslogMessageModifierConfig

View File

@ -1,7 +1,7 @@
package org.productivity.java.syslog4j.impl.message.modifier.escape;
package org.graylog2.syslog4j.impl.message.modifier.escape;
import org.productivity.java.syslog4j.SyslogIF;
import org.productivity.java.syslog4j.SyslogMessageModifierIF;
import org.graylog2.syslog4j.SyslogIF;
import org.graylog2.syslog4j.SyslogMessageModifierIF;
/**
* HTMLEntityEscapeSyslogMessageModifier is an implementation of SyslogMessageModifierIF

View File

@ -1,14 +1,14 @@
package org.productivity.java.syslog4j.impl.message.modifier.hash;
package org.graylog2.syslog4j.impl.message.modifier.hash;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.Arrays;
import org.productivity.java.syslog4j.SyslogIF;
import org.productivity.java.syslog4j.SyslogRuntimeException;
import org.productivity.java.syslog4j.impl.message.modifier.AbstractSyslogMessageModifier;
import org.productivity.java.syslog4j.util.Base64;
import org.productivity.java.syslog4j.util.SyslogUtility;
import org.graylog2.syslog4j.SyslogIF;
import org.graylog2.syslog4j.SyslogRuntimeException;
import org.graylog2.syslog4j.impl.message.modifier.AbstractSyslogMessageModifier;
import org.graylog2.syslog4j.util.Base64;
import org.graylog2.syslog4j.util.SyslogUtility;
/**
* HashSyslogMessageModifier is an implementation of SyslogMessageModifierIF

View File

@ -1,6 +1,6 @@
package org.productivity.java.syslog4j.impl.message.modifier.hash;
package org.graylog2.syslog4j.impl.message.modifier.hash;
import org.productivity.java.syslog4j.impl.message.modifier.AbstractSyslogMessageModifierConfig;
import org.graylog2.syslog4j.impl.message.modifier.AbstractSyslogMessageModifierConfig;
/**
* HashSyslogMessageModifierConfig is an implementation of AbstractSyslogMessageModifierConfig

View File

@ -1,4 +1,4 @@
package org.productivity.java.syslog4j.impl.message.modifier.mac;
package org.graylog2.syslog4j.impl.message.modifier.mac;
import java.security.InvalidKeyException;
import java.security.Key;
@ -7,11 +7,11 @@ import java.util.Arrays;
import javax.crypto.Mac;
import org.productivity.java.syslog4j.SyslogIF;
import org.productivity.java.syslog4j.SyslogRuntimeException;
import org.productivity.java.syslog4j.impl.message.modifier.AbstractSyslogMessageModifier;
import org.productivity.java.syslog4j.util.Base64;
import org.productivity.java.syslog4j.util.SyslogUtility;
import org.graylog2.syslog4j.SyslogIF;
import org.graylog2.syslog4j.SyslogRuntimeException;
import org.graylog2.syslog4j.impl.message.modifier.AbstractSyslogMessageModifier;
import org.graylog2.syslog4j.util.Base64;
import org.graylog2.syslog4j.util.SyslogUtility;
/**
* MacSyslogMessageModifier is an implementation of SyslogMessageModifierIF

View File

@ -1,12 +1,12 @@
package org.productivity.java.syslog4j.impl.message.modifier.mac;
package org.graylog2.syslog4j.impl.message.modifier.mac;
import java.security.Key;
import javax.crypto.spec.SecretKeySpec;
import org.productivity.java.syslog4j.SyslogRuntimeException;
import org.productivity.java.syslog4j.impl.message.modifier.AbstractSyslogMessageModifierConfig;
import org.productivity.java.syslog4j.util.Base64;
import org.graylog2.syslog4j.SyslogRuntimeException;
import org.graylog2.syslog4j.impl.message.modifier.AbstractSyslogMessageModifierConfig;
import org.graylog2.syslog4j.util.Base64;
/**
* MacSyslogMessageModifierConfig is an implementation of AbstractSyslogMessageModifierConfig

View File

@ -1,7 +1,7 @@
package org.productivity.java.syslog4j.impl.message.modifier.sequential;
package org.graylog2.syslog4j.impl.message.modifier.sequential;
import org.productivity.java.syslog4j.SyslogIF;
import org.productivity.java.syslog4j.SyslogMessageModifierIF;
import org.graylog2.syslog4j.SyslogIF;
import org.graylog2.syslog4j.SyslogMessageModifierIF;
/**
* SequentialSyslogMessageModifier is an implementation of SyslogMessageModifierIF

View File

@ -1,6 +1,6 @@
package org.productivity.java.syslog4j.impl.message.modifier.sequential;
package org.graylog2.syslog4j.impl.message.modifier.sequential;
import org.productivity.java.syslog4j.impl.message.modifier.AbstractSyslogMessageModifierConfig;
import org.graylog2.syslog4j.impl.message.modifier.AbstractSyslogMessageModifierConfig;
/**
* SequentialSyslogMessageModifierConfig is an implementation of AbstractSyslogMessageModifierConfig

View File

@ -1,7 +1,7 @@
package org.productivity.java.syslog4j.impl.message.modifier.text;
package org.graylog2.syslog4j.impl.message.modifier.text;
import org.productivity.java.syslog4j.SyslogIF;
import org.productivity.java.syslog4j.SyslogMessageModifierIF;
import org.graylog2.syslog4j.SyslogIF;
import org.graylog2.syslog4j.SyslogMessageModifierIF;
/**
* PrefixSyslogMessageModifier is an implementation of SyslogMessageModifierIF

View File

@ -1,8 +1,8 @@
package org.productivity.java.syslog4j.impl.message.modifier.text;
package org.graylog2.syslog4j.impl.message.modifier.text;
import org.productivity.java.syslog4j.SyslogIF;
import org.productivity.java.syslog4j.SyslogMessageModifierIF;
import org.productivity.java.syslog4j.SyslogRuntimeException;
import org.graylog2.syslog4j.SyslogIF;
import org.graylog2.syslog4j.SyslogMessageModifierIF;
import org.graylog2.syslog4j.SyslogRuntimeException;
/**
* StringCaseSyslogMessageModifier is an implementation of SyslogMessageModifierIF

View File

@ -1,7 +1,7 @@
package org.productivity.java.syslog4j.impl.message.modifier.text;
package org.graylog2.syslog4j.impl.message.modifier.text;
import org.productivity.java.syslog4j.SyslogIF;
import org.productivity.java.syslog4j.SyslogMessageModifierIF;
import org.graylog2.syslog4j.SyslogIF;
import org.graylog2.syslog4j.SyslogMessageModifierIF;
/**
* SuffixSyslogMessageModifier is an implementation of SyslogMessageModifierIF

View File

@ -1,9 +1,9 @@
package org.productivity.java.syslog4j.impl.message.pci;
package org.graylog2.syslog4j.impl.message.pci;
import java.util.Date;
import java.util.Map;
import org.productivity.java.syslog4j.impl.message.AbstractSyslogMessage;
import org.graylog2.syslog4j.impl.message.AbstractSyslogMessage;
/**
* PCISyslogMessage provides support for audit trails defined by section

View File

@ -1,4 +1,4 @@
package org.productivity.java.syslog4j.impl.message.pci;
package org.graylog2.syslog4j.impl.message.pci;
/**
* PCISyslogMessageIF provides a definition of the fields for audit trails

View File

@ -1,12 +1,12 @@
package org.productivity.java.syslog4j.impl.message.processor;
package org.graylog2.syslog4j.impl.message.processor;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
import org.productivity.java.syslog4j.SyslogConstants;
import org.productivity.java.syslog4j.SyslogMessageProcessorIF;
import org.productivity.java.syslog4j.util.SyslogUtility;
import org.graylog2.syslog4j.SyslogConstants;
import org.graylog2.syslog4j.SyslogMessageProcessorIF;
import org.graylog2.syslog4j.util.SyslogUtility;
/**
* AbstractSyslogMessageProcessor provides the ability to split a syslog message

View File

@ -1,4 +1,4 @@
package org.productivity.java.syslog4j.impl.message.processor;
package org.graylog2.syslog4j.impl.message.processor;
/**

View File

@ -1,9 +1,9 @@
package org.productivity.java.syslog4j.impl.message.processor.structured;
package org.graylog2.syslog4j.impl.message.processor.structured;
import org.joda.time.format.DateTimeFormatter;
import org.joda.time.format.ISODateTimeFormat;
import org.productivity.java.syslog4j.impl.message.processor.AbstractSyslogMessageProcessor;
import org.productivity.java.syslog4j.impl.message.structured.StructuredSyslogMessage;
import org.graylog2.syslog4j.impl.message.processor.AbstractSyslogMessageProcessor;
import org.graylog2.syslog4j.impl.message.structured.StructuredSyslogMessage;
/**
* SyslogStructuredMessageProcessor extends SyslogMessageProcessor's ability to

View File

@ -1,12 +1,12 @@
package org.productivity.java.syslog4j.impl.message.structured;
package org.graylog2.syslog4j.impl.message.structured;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import org.productivity.java.syslog4j.SyslogConstants;
import org.productivity.java.syslog4j.impl.message.AbstractSyslogMessage;
import org.graylog2.syslog4j.SyslogConstants;
import org.graylog2.syslog4j.impl.message.AbstractSyslogMessage;
/**
* SyslogStructuredMessage extends AbstractSyslogMessage's ability to provide

View File

@ -1,6 +1,6 @@
package org.productivity.java.syslog4j.impl.message.structured;
package org.graylog2.syslog4j.impl.message.structured;
import org.productivity.java.syslog4j.SyslogMessageIF;
import org.graylog2.syslog4j.SyslogMessageIF;
/**
* StructuredSyslogMessageIF is a "marker" interface to identify structured

View File

@ -1,12 +1,12 @@
package org.productivity.java.syslog4j.impl.multiple;
package org.graylog2.syslog4j.impl.multiple;
import org.productivity.java.syslog4j.Syslog;
import org.productivity.java.syslog4j.SyslogConfigIF;
import org.productivity.java.syslog4j.SyslogConstants;
import org.productivity.java.syslog4j.SyslogIF;
import org.productivity.java.syslog4j.SyslogMessageIF;
import org.productivity.java.syslog4j.SyslogMessageProcessorIF;
import org.productivity.java.syslog4j.SyslogRuntimeException;
import org.graylog2.syslog4j.Syslog;
import org.graylog2.syslog4j.SyslogConfigIF;
import org.graylog2.syslog4j.SyslogConstants;
import org.graylog2.syslog4j.SyslogIF;
import org.graylog2.syslog4j.SyslogMessageIF;
import org.graylog2.syslog4j.SyslogMessageProcessorIF;
import org.graylog2.syslog4j.SyslogRuntimeException;
/**
* MultipleSyslog is an aggregator Syslog implementation for allowing a single

View File

@ -1,13 +1,13 @@
package org.productivity.java.syslog4j.impl.multiple;
package org.graylog2.syslog4j.impl.multiple;
import java.util.ArrayList;
import java.util.List;
import org.productivity.java.syslog4j.SyslogBackLogHandlerIF;
import org.productivity.java.syslog4j.SyslogConfigIF;
import org.productivity.java.syslog4j.SyslogConstants;
import org.productivity.java.syslog4j.SyslogMessageModifierIF;
import org.productivity.java.syslog4j.SyslogRuntimeException;
import org.graylog2.syslog4j.SyslogBackLogHandlerIF;
import org.graylog2.syslog4j.SyslogConfigIF;
import org.graylog2.syslog4j.SyslogConstants;
import org.graylog2.syslog4j.SyslogMessageModifierIF;
import org.graylog2.syslog4j.SyslogRuntimeException;
/**
* MultipleSyslogConfig is a configuration Object for allowing a single

View File

@ -1,10 +1,10 @@
package org.productivity.java.syslog4j.impl.net;
package org.graylog2.syslog4j.impl.net;
import java.net.InetAddress;
import org.productivity.java.syslog4j.SyslogRuntimeException;
import org.productivity.java.syslog4j.impl.AbstractSyslog;
import org.productivity.java.syslog4j.util.SyslogUtility;
import org.graylog2.syslog4j.SyslogRuntimeException;
import org.graylog2.syslog4j.impl.AbstractSyslog;
import org.graylog2.syslog4j.util.SyslogUtility;
/**
* AbstractNetSyslog is an abstract extension of AbstractSyslog

View File

@ -1,6 +1,6 @@
package org.productivity.java.syslog4j.impl.net;
package org.graylog2.syslog4j.impl.net;
import org.productivity.java.syslog4j.impl.AbstractSyslogConfig;
import org.graylog2.syslog4j.impl.AbstractSyslogConfig;
/**
* AbstractNetSyslogConfig is an abstract extension of AbstractSyslogConfig

View File

@ -1,6 +1,6 @@
package org.productivity.java.syslog4j.impl.net;
package org.graylog2.syslog4j.impl.net;
import org.productivity.java.syslog4j.impl.AbstractSyslogConfigIF;
import org.graylog2.syslog4j.impl.AbstractSyslogConfigIF;
/**
* AbstractNetSyslogConfigIF is a configuration interface supporting network-based

View File

@ -1,8 +1,8 @@
package org.productivity.java.syslog4j.impl.net.tcp;
package org.graylog2.syslog4j.impl.net.tcp;
import org.productivity.java.syslog4j.SyslogRuntimeException;
import org.productivity.java.syslog4j.impl.AbstractSyslogWriter;
import org.productivity.java.syslog4j.impl.net.AbstractNetSyslog;
import org.graylog2.syslog4j.SyslogRuntimeException;
import org.graylog2.syslog4j.impl.AbstractSyslogWriter;
import org.graylog2.syslog4j.impl.net.AbstractNetSyslog;
/**
* TCPNetSyslog is an extension of AbstractSyslog that provides support for

View File

@ -1,8 +1,8 @@
package org.productivity.java.syslog4j.impl.net.tcp;
package org.graylog2.syslog4j.impl.net.tcp;
import org.productivity.java.syslog4j.SyslogConstants;
import org.productivity.java.syslog4j.impl.net.AbstractNetSyslogConfig;
import org.productivity.java.syslog4j.util.SyslogUtility;
import org.graylog2.syslog4j.SyslogConstants;
import org.graylog2.syslog4j.impl.net.AbstractNetSyslogConfig;
import org.graylog2.syslog4j.util.SyslogUtility;
/**
* TCPNetSyslogConfig is an extension of AbstractNetSyslogConfig that provides

View File

@ -1,6 +1,6 @@
package org.productivity.java.syslog4j.impl.net.tcp;
package org.graylog2.syslog4j.impl.net.tcp;
import org.productivity.java.syslog4j.impl.net.AbstractNetSyslogConfigIF;
import org.graylog2.syslog4j.impl.net.AbstractNetSyslogConfigIF;
/**
* TCPNetSyslogConfigIF is a configuration interface supporting TCP/IP-based

View File

@ -1,4 +1,4 @@
package org.productivity.java.syslog4j.impl.net.tcp;
package org.graylog2.syslog4j.impl.net.tcp;
import java.io.IOException;
import java.io.OutputStream;
@ -7,11 +7,11 @@ import java.net.Socket;
import javax.net.SocketFactory;
import org.productivity.java.syslog4j.SyslogConstants;
import org.productivity.java.syslog4j.SyslogRuntimeException;
import org.productivity.java.syslog4j.impl.AbstractSyslog;
import org.productivity.java.syslog4j.impl.AbstractSyslogWriter;
import org.productivity.java.syslog4j.util.SyslogUtility;
import org.graylog2.syslog4j.SyslogConstants;
import org.graylog2.syslog4j.SyslogRuntimeException;
import org.graylog2.syslog4j.impl.AbstractSyslog;
import org.graylog2.syslog4j.impl.AbstractSyslogWriter;
import org.graylog2.syslog4j.util.SyslogUtility;
/**
* TCPNetSyslogWriter is an implementation of Runnable that supports sending

View File

@ -1,10 +1,10 @@
package org.productivity.java.syslog4j.impl.net.tcp.pool;
package org.graylog2.syslog4j.impl.net.tcp.pool;
import org.productivity.java.syslog4j.SyslogRuntimeException;
import org.productivity.java.syslog4j.impl.AbstractSyslogWriter;
import org.productivity.java.syslog4j.impl.net.tcp.TCPNetSyslog;
import org.productivity.java.syslog4j.impl.pool.AbstractSyslogPoolFactory;
import org.productivity.java.syslog4j.impl.pool.generic.GenericSyslogPoolFactory;
import org.graylog2.syslog4j.SyslogRuntimeException;
import org.graylog2.syslog4j.impl.AbstractSyslogWriter;
import org.graylog2.syslog4j.impl.net.tcp.TCPNetSyslog;
import org.graylog2.syslog4j.impl.pool.AbstractSyslogPoolFactory;
import org.graylog2.syslog4j.impl.pool.generic.GenericSyslogPoolFactory;
/**
* PooledTCPNetSyslog is an extension of TCPNetSyslog which provides support

View File

@ -1,8 +1,8 @@
package org.productivity.java.syslog4j.impl.net.tcp.pool;
package org.graylog2.syslog4j.impl.net.tcp.pool;
import org.apache.commons.pool.impl.GenericObjectPool;
import org.productivity.java.syslog4j.SyslogPoolConfigIF;
import org.productivity.java.syslog4j.impl.net.tcp.TCPNetSyslogConfig;
import org.graylog2.syslog4j.SyslogPoolConfigIF;
import org.graylog2.syslog4j.impl.net.tcp.TCPNetSyslogConfig;
/**
* NetSyslogPoolFactory is an implementation of SyslogPoolConfigIF

View File

@ -1,7 +1,7 @@
package org.productivity.java.syslog4j.impl.net.tcp.ssl;
package org.graylog2.syslog4j.impl.net.tcp.ssl;
import org.productivity.java.syslog4j.SyslogRuntimeException;
import org.productivity.java.syslog4j.impl.net.tcp.TCPNetSyslog;
import org.graylog2.syslog4j.SyslogRuntimeException;
import org.graylog2.syslog4j.impl.net.tcp.TCPNetSyslog;
/**
* SSLTCPNetSyslog is an extension of AbstractSyslog that provides support for

View File

@ -1,6 +1,6 @@
package org.productivity.java.syslog4j.impl.net.tcp.ssl;
package org.graylog2.syslog4j.impl.net.tcp.ssl;
import org.productivity.java.syslog4j.impl.net.tcp.TCPNetSyslogConfig;
import org.graylog2.syslog4j.impl.net.tcp.TCPNetSyslogConfig;
/**
* SSLTCPNetSyslogConfig is an extension of TCPNetSyslogConfig that provides

View File

@ -1,6 +1,6 @@
package org.productivity.java.syslog4j.impl.net.tcp.ssl;
package org.graylog2.syslog4j.impl.net.tcp.ssl;
import org.productivity.java.syslog4j.impl.net.tcp.TCPNetSyslogConfigIF;
import org.graylog2.syslog4j.impl.net.tcp.TCPNetSyslogConfigIF;
/**
* SSLTCPNetSyslogConfigIF is a configuration interface supporting TCP/IP-based

View File

@ -1,9 +1,9 @@
package org.productivity.java.syslog4j.impl.net.tcp.ssl;
package org.graylog2.syslog4j.impl.net.tcp.ssl;
import javax.net.SocketFactory;
import javax.net.ssl.SSLSocketFactory;
import org.productivity.java.syslog4j.impl.net.tcp.TCPNetSyslogWriter;
import org.graylog2.syslog4j.impl.net.tcp.TCPNetSyslogWriter;
/**
* SSLTCPNetSyslogWriter is an implementation of Runnable that supports sending

View File

@ -1,9 +1,9 @@
package org.productivity.java.syslog4j.impl.net.tcp.ssl.pool;
package org.graylog2.syslog4j.impl.net.tcp.ssl.pool;
import org.productivity.java.syslog4j.impl.net.tcp.pool.PooledTCPNetSyslogConfig;
import org.productivity.java.syslog4j.impl.net.tcp.ssl.SSLTCPNetSyslog;
import org.productivity.java.syslog4j.impl.net.tcp.ssl.SSLTCPNetSyslogConfigIF;
import org.productivity.java.syslog4j.impl.net.tcp.ssl.SSLTCPNetSyslogWriter;
import org.graylog2.syslog4j.impl.net.tcp.pool.PooledTCPNetSyslogConfig;
import org.graylog2.syslog4j.impl.net.tcp.ssl.SSLTCPNetSyslog;
import org.graylog2.syslog4j.impl.net.tcp.ssl.SSLTCPNetSyslogConfigIF;
import org.graylog2.syslog4j.impl.net.tcp.ssl.SSLTCPNetSyslogWriter;
/**
* PooledSSLTCPNetSyslogConfig is an extension of PooledTCPNetSyslogConfig

View File

@ -1,4 +1,4 @@
package org.productivity.java.syslog4j.impl.net.udp;
package org.graylog2.syslog4j.impl.net.udp;
import java.io.IOException;
import java.net.DatagramPacket;
@ -6,9 +6,9 @@ import java.net.DatagramSocket;
import java.net.InetAddress;
import java.net.SocketException;
import org.productivity.java.syslog4j.SyslogRuntimeException;
import org.productivity.java.syslog4j.impl.AbstractSyslogWriter;
import org.productivity.java.syslog4j.impl.net.AbstractNetSyslog;
import org.graylog2.syslog4j.SyslogRuntimeException;
import org.graylog2.syslog4j.impl.AbstractSyslogWriter;
import org.graylog2.syslog4j.impl.net.AbstractNetSyslog;
/**
* UDPNetSyslog is an extension of AbstractSyslog that provides support for

View File

@ -1,6 +1,6 @@
package org.productivity.java.syslog4j.impl.net.udp;
package org.graylog2.syslog4j.impl.net.udp;
import org.productivity.java.syslog4j.impl.net.AbstractNetSyslogConfig;
import org.graylog2.syslog4j.impl.net.AbstractNetSyslogConfig;
/**
* UDPNetSyslogConfig is an extension of AbstractNetSyslogConfig that provides

View File

@ -1,11 +1,11 @@
package org.productivity.java.syslog4j.impl.pool;
package org.graylog2.syslog4j.impl.pool;
import org.apache.commons.pool.BasePoolableObjectFactory;
import org.apache.commons.pool.ObjectPool;
import org.productivity.java.syslog4j.SyslogRuntimeException;
import org.productivity.java.syslog4j.impl.AbstractSyslog;
import org.productivity.java.syslog4j.impl.AbstractSyslogConfigIF;
import org.productivity.java.syslog4j.impl.AbstractSyslogWriter;
import org.graylog2.syslog4j.SyslogRuntimeException;
import org.graylog2.syslog4j.impl.AbstractSyslog;
import org.graylog2.syslog4j.impl.AbstractSyslogConfigIF;
import org.graylog2.syslog4j.impl.AbstractSyslogWriter;
/**
* AbstractSyslogPoolFactory is an abstract implementation of the Apache Commons Pool
@ -17,7 +17,7 @@ import org.productivity.java.syslog4j.impl.AbstractSyslogWriter;
*
* @author &lt;syslog4j@productivity.org&gt;
* @version $Id: AbstractSyslogPoolFactory.java,v 1.5 2008/12/10 04:15:11 cvs Exp $
* @see org.productivity.java.syslog4j.impl.pool.generic.GenericSyslogPoolFactory
* @see org.graylog2.syslog4j.impl.pool.generic.GenericSyslogPoolFactory
*/
public abstract class AbstractSyslogPoolFactory extends BasePoolableObjectFactory {
private static final long serialVersionUID = -7441569603980981508L;

View File

@ -1,10 +1,10 @@
package org.productivity.java.syslog4j.impl.pool.generic;
package org.graylog2.syslog4j.impl.pool.generic;
import org.apache.commons.pool.ObjectPool;
import org.apache.commons.pool.impl.GenericObjectPool;
import org.productivity.java.syslog4j.SyslogPoolConfigIF;
import org.productivity.java.syslog4j.SyslogRuntimeException;
import org.productivity.java.syslog4j.impl.pool.AbstractSyslogPoolFactory;
import org.graylog2.syslog4j.SyslogPoolConfigIF;
import org.graylog2.syslog4j.SyslogRuntimeException;
import org.graylog2.syslog4j.impl.pool.AbstractSyslogPoolFactory;
/**
* GenericSyslogPoolFactory is an implementation of the Apache Commons Pool

View File

@ -1,10 +1,10 @@
package org.productivity.java.syslog4j.impl.unix;
package org.graylog2.syslog4j.impl.unix;
import org.productivity.java.syslog4j.SyslogMessageProcessorIF;
import org.productivity.java.syslog4j.SyslogRuntimeException;
import org.productivity.java.syslog4j.impl.AbstractSyslog;
import org.productivity.java.syslog4j.impl.AbstractSyslogWriter;
import org.productivity.java.syslog4j.util.OSDetectUtility;
import org.graylog2.syslog4j.SyslogMessageProcessorIF;
import org.graylog2.syslog4j.SyslogRuntimeException;
import org.graylog2.syslog4j.impl.AbstractSyslog;
import org.graylog2.syslog4j.impl.AbstractSyslogWriter;
import org.graylog2.syslog4j.util.OSDetectUtility;
import com.sun.jna.Library;
import com.sun.jna.Memory;

View File

@ -1,7 +1,7 @@
package org.productivity.java.syslog4j.impl.unix;
package org.graylog2.syslog4j.impl.unix;
import org.productivity.java.syslog4j.SyslogRuntimeException;
import org.productivity.java.syslog4j.impl.AbstractSyslogConfig;
import org.graylog2.syslog4j.SyslogRuntimeException;
import org.graylog2.syslog4j.impl.AbstractSyslogConfig;
/**
* UnixSyslogConfig is an extension of AbstractNetSyslogConfig that provides

View File

@ -1,11 +1,11 @@
package org.productivity.java.syslog4j.impl.unix.socket;
package org.graylog2.syslog4j.impl.unix.socket;
import java.nio.ByteBuffer;
import org.productivity.java.syslog4j.SyslogRuntimeException;
import org.productivity.java.syslog4j.impl.AbstractSyslog;
import org.productivity.java.syslog4j.impl.AbstractSyslogWriter;
import org.productivity.java.syslog4j.util.OSDetectUtility;
import org.graylog2.syslog4j.SyslogRuntimeException;
import org.graylog2.syslog4j.impl.AbstractSyslog;
import org.graylog2.syslog4j.impl.AbstractSyslogWriter;
import org.graylog2.syslog4j.util.OSDetectUtility;
import com.sun.jna.Library;
import com.sun.jna.Native;

View File

@ -1,7 +1,7 @@
package org.productivity.java.syslog4j.impl.unix.socket;
package org.graylog2.syslog4j.impl.unix.socket;
import org.productivity.java.syslog4j.SyslogRuntimeException;
import org.productivity.java.syslog4j.impl.AbstractSyslogConfig;
import org.graylog2.syslog4j.SyslogRuntimeException;
import org.graylog2.syslog4j.impl.AbstractSyslogConfig;
/**
* UnixSocketSyslogConfig is an extension of AbstractNetSyslogConfig that provides

View File

@ -1,16 +1,16 @@
package org.productivity.java.syslog4j.server;
package org.graylog2.syslog4j.server;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import org.productivity.java.syslog4j.Syslog4jVersion;
import org.productivity.java.syslog4j.SyslogConstants;
import org.productivity.java.syslog4j.SyslogRuntimeException;
import org.productivity.java.syslog4j.server.impl.net.tcp.TCPNetSyslogServerConfig;
import org.productivity.java.syslog4j.server.impl.net.udp.UDPNetSyslogServerConfig;
import org.productivity.java.syslog4j.util.SyslogUtility;
import org.graylog2.syslog4j.Syslog4jVersion;
import org.graylog2.syslog4j.SyslogConstants;
import org.graylog2.syslog4j.SyslogRuntimeException;
import org.graylog2.syslog4j.server.impl.net.tcp.TCPNetSyslogServerConfig;
import org.graylog2.syslog4j.server.impl.net.udp.UDPNetSyslogServerConfig;
import org.graylog2.syslog4j.util.SyslogUtility;
/**
* This class provides a Singleton-based interface for Syslog4j

View File

@ -1,10 +1,10 @@
package org.productivity.java.syslog4j.server;
package org.graylog2.syslog4j.server;
import java.util.List;
import org.productivity.java.syslog4j.SyslogCharSetIF;
import org.productivity.java.syslog4j.SyslogConstants;
import org.productivity.java.syslog4j.SyslogRuntimeException;
import org.graylog2.syslog4j.SyslogCharSetIF;
import org.graylog2.syslog4j.SyslogConstants;
import org.graylog2.syslog4j.SyslogRuntimeException;
/**
* SyslogServerConfigIF provides a common, extensible configuration interface for all

View File

@ -1,4 +1,4 @@
package org.productivity.java.syslog4j.server;
package org.graylog2.syslog4j.server;
import java.io.Serializable;

View File

@ -1,8 +1,8 @@
package org.productivity.java.syslog4j.server;
package org.graylog2.syslog4j.server;
import java.util.Date;
import org.productivity.java.syslog4j.SyslogCharSetIF;
import org.graylog2.syslog4j.SyslogCharSetIF;
/**
* SyslogServerEventIF provides an extensible interface for Syslog4j

View File

@ -1,6 +1,6 @@
package org.productivity.java.syslog4j.server;
package org.graylog2.syslog4j.server;
import org.productivity.java.syslog4j.SyslogRuntimeException;
import org.graylog2.syslog4j.SyslogRuntimeException;
/**
* SyslogServerIF provides a common interface for all Syslog4j server implementations.

View File

@ -1,9 +1,9 @@
package org.productivity.java.syslog4j.server;
package org.graylog2.syslog4j.server;
import org.productivity.java.syslog4j.server.impl.event.printstream.FileSyslogServerEventHandler;
import org.productivity.java.syslog4j.server.impl.event.printstream.SystemOutSyslogServerEventHandler;
import org.productivity.java.syslog4j.server.impl.net.tcp.TCPNetSyslogServerConfigIF;
import org.productivity.java.syslog4j.util.SyslogUtility;
import org.graylog2.syslog4j.server.impl.event.printstream.FileSyslogServerEventHandler;
import org.graylog2.syslog4j.server.impl.event.printstream.SystemOutSyslogServerEventHandler;
import org.graylog2.syslog4j.server.impl.net.tcp.TCPNetSyslogServerConfigIF;
import org.graylog2.syslog4j.util.SyslogUtility;
/**
* This class provides a command-line interface for Syslog4j

View File

@ -1,4 +1,4 @@
package org.productivity.java.syslog4j.server;
package org.graylog2.syslog4j.server;
import java.net.SocketAddress;

View File

@ -1,4 +1,4 @@
package org.productivity.java.syslog4j.server;
package org.graylog2.syslog4j.server;
import java.net.SocketAddress;

View File

@ -1,4 +1,4 @@
package org.productivity.java.syslog4j.server.impl;
package org.graylog2.syslog4j.server.impl;
import java.net.DatagramPacket;
import java.net.InetAddress;
@ -9,17 +9,17 @@ import java.util.Iterator;
import java.util.List;
import java.util.Map;
import org.productivity.java.syslog4j.SyslogCharSetIF;
import org.productivity.java.syslog4j.SyslogRuntimeException;
import org.productivity.java.syslog4j.server.SyslogServerConfigIF;
import org.productivity.java.syslog4j.server.SyslogServerEventHandlerIF;
import org.productivity.java.syslog4j.server.SyslogServerEventIF;
import org.productivity.java.syslog4j.server.SyslogServerIF;
import org.productivity.java.syslog4j.server.SyslogServerSessionEventHandlerIF;
import org.productivity.java.syslog4j.server.SyslogServerSessionlessEventHandlerIF;
import org.productivity.java.syslog4j.server.impl.event.SyslogServerEvent;
import org.productivity.java.syslog4j.server.impl.event.structured.StructuredSyslogServerEvent;
import org.productivity.java.syslog4j.util.SyslogUtility;
import org.graylog2.syslog4j.SyslogCharSetIF;
import org.graylog2.syslog4j.SyslogRuntimeException;
import org.graylog2.syslog4j.server.SyslogServerConfigIF;
import org.graylog2.syslog4j.server.SyslogServerEventHandlerIF;
import org.graylog2.syslog4j.server.SyslogServerEventIF;
import org.graylog2.syslog4j.server.SyslogServerIF;
import org.graylog2.syslog4j.server.SyslogServerSessionEventHandlerIF;
import org.graylog2.syslog4j.server.SyslogServerSessionlessEventHandlerIF;
import org.graylog2.syslog4j.server.impl.event.SyslogServerEvent;
import org.graylog2.syslog4j.server.impl.event.structured.StructuredSyslogServerEvent;
import org.graylog2.syslog4j.util.SyslogUtility;
/**
* AbstractSyslogServer provides a base abstract implementation of the SyslogServerIF.

View File

@ -1,11 +1,11 @@
package org.productivity.java.syslog4j.server.impl;
package org.graylog2.syslog4j.server.impl;
import java.util.ArrayList;
import java.util.List;
import org.productivity.java.syslog4j.SyslogConstants;
import org.productivity.java.syslog4j.server.SyslogServerConfigIF;
import org.productivity.java.syslog4j.server.SyslogServerEventHandlerIF;
import org.graylog2.syslog4j.SyslogConstants;
import org.graylog2.syslog4j.server.SyslogServerConfigIF;
import org.graylog2.syslog4j.server.SyslogServerEventHandlerIF;
/**
* AbstractSyslogServerConfig provides a base abstract implementation of the SyslogServerConfigIF

View File

@ -1,4 +1,4 @@
package org.productivity.java.syslog4j.server.impl.event;
package org.graylog2.syslog4j.server.impl.event;
import java.net.InetAddress;
import java.text.DateFormat;
@ -7,9 +7,9 @@ import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import org.productivity.java.syslog4j.SyslogConstants;
import org.productivity.java.syslog4j.server.SyslogServerEventIF;
import org.productivity.java.syslog4j.util.SyslogUtility;
import org.graylog2.syslog4j.SyslogConstants;
import org.graylog2.syslog4j.server.SyslogServerEventIF;
import org.graylog2.syslog4j.util.SyslogUtility;
/**
* SyslogServerEvent provides an implementation of the SyslogServerEventIF interface.

View File

@ -1,4 +1,4 @@
package org.productivity.java.syslog4j.server.impl.event.printstream;
package org.graylog2.syslog4j.server.impl.event.printstream;
import java.io.File;
import java.io.FileOutputStream;

View File

@ -1,13 +1,13 @@
package org.productivity.java.syslog4j.server.impl.event.printstream;
package org.graylog2.syslog4j.server.impl.event.printstream;
import java.io.PrintStream;
import java.net.SocketAddress;
import java.util.Date;
import org.productivity.java.syslog4j.server.SyslogServerEventIF;
import org.productivity.java.syslog4j.server.SyslogServerIF;
import org.productivity.java.syslog4j.server.SyslogServerSessionEventHandlerIF;
import org.productivity.java.syslog4j.util.SyslogUtility;
import org.graylog2.syslog4j.server.SyslogServerEventIF;
import org.graylog2.syslog4j.server.SyslogServerIF;
import org.graylog2.syslog4j.server.SyslogServerSessionEventHandlerIF;
import org.graylog2.syslog4j.util.SyslogUtility;
/**
* SystemOutSyslogServerEventHandler provides a simple example implementation

View File

@ -1,6 +1,6 @@
package org.productivity.java.syslog4j.server.impl.event.printstream;
package org.graylog2.syslog4j.server.impl.event.printstream;
import org.productivity.java.syslog4j.server.SyslogServerSessionEventHandlerIF;
import org.graylog2.syslog4j.server.SyslogServerSessionEventHandlerIF;
public class SystemErrSyslogServerEventHandler extends PrintStreamSyslogServerEventHandler {
private static final long serialVersionUID = -3496862887351690575L;

View File

@ -1,6 +1,6 @@
package org.productivity.java.syslog4j.server.impl.event.printstream;
package org.graylog2.syslog4j.server.impl.event.printstream;
import org.productivity.java.syslog4j.server.SyslogServerSessionEventHandlerIF;
import org.graylog2.syslog4j.server.SyslogServerSessionEventHandlerIF;
public class SystemOutSyslogServerEventHandler extends PrintStreamSyslogServerEventHandler {
private static final long serialVersionUID = 1690551409588182601L;

View File

@ -1,13 +1,13 @@
package org.productivity.java.syslog4j.server.impl.event.structured;
package org.graylog2.syslog4j.server.impl.event.structured;
import java.net.InetAddress;
import org.joda.time.DateTime;
import org.joda.time.format.DateTimeFormatter;
import org.joda.time.format.ISODateTimeFormat;
import org.productivity.java.syslog4j.SyslogConstants;
import org.productivity.java.syslog4j.impl.message.structured.StructuredSyslogMessage;
import org.productivity.java.syslog4j.server.impl.event.SyslogServerEvent;
import org.graylog2.syslog4j.SyslogConstants;
import org.graylog2.syslog4j.impl.message.structured.StructuredSyslogMessage;
import org.graylog2.syslog4j.server.impl.event.SyslogServerEvent;
/**
* SyslogServerStructuredEvent provides an implementation of the

View File

@ -1,6 +1,6 @@
package org.productivity.java.syslog4j.server.impl.net;
package org.graylog2.syslog4j.server.impl.net;
import org.productivity.java.syslog4j.server.impl.AbstractSyslogServerConfig;
import org.graylog2.syslog4j.server.impl.AbstractSyslogServerConfig;
/**
* AbstractNetSyslogServerConfig provides a base abstract implementation of the AbstractSyslogServerConfig

View File

@ -1,4 +1,4 @@
package org.productivity.java.syslog4j.server.impl.net.tcp;
package org.graylog2.syslog4j.server.impl.net.tcp;
import java.io.BufferedReader;
import java.io.IOException;
@ -12,12 +12,12 @@ import java.util.Iterator;
import javax.net.ServerSocketFactory;
import org.productivity.java.syslog4j.SyslogConstants;
import org.productivity.java.syslog4j.SyslogRuntimeException;
import org.productivity.java.syslog4j.server.SyslogServerEventIF;
import org.productivity.java.syslog4j.server.SyslogServerIF;
import org.productivity.java.syslog4j.server.impl.AbstractSyslogServer;
import org.productivity.java.syslog4j.util.SyslogUtility;
import org.graylog2.syslog4j.SyslogConstants;
import org.graylog2.syslog4j.SyslogRuntimeException;
import org.graylog2.syslog4j.server.SyslogServerEventIF;
import org.graylog2.syslog4j.server.SyslogServerIF;
import org.graylog2.syslog4j.server.impl.AbstractSyslogServer;
import org.graylog2.syslog4j.util.SyslogUtility;
/**
* TCPNetSyslogServer provides a simple threaded TCP/IP server implementation.

View File

@ -1,6 +1,6 @@
package org.productivity.java.syslog4j.server.impl.net.tcp;
package org.graylog2.syslog4j.server.impl.net.tcp;
import org.productivity.java.syslog4j.server.impl.net.AbstractNetSyslogServerConfig;
import org.graylog2.syslog4j.server.impl.net.AbstractNetSyslogServerConfig;
/**
* TCPNetSyslogServerConfig provides configuration for TCPNetSyslogServer.

View File

@ -1,6 +1,6 @@
package org.productivity.java.syslog4j.server.impl.net.tcp;
package org.graylog2.syslog4j.server.impl.net.tcp;
import org.productivity.java.syslog4j.server.SyslogServerConfigIF;
import org.graylog2.syslog4j.server.SyslogServerConfigIF;
/**
* TCPNetSyslogServerConfigIF provides configuration for TCPNetSyslogServer.

View File

@ -1,12 +1,12 @@
package org.productivity.java.syslog4j.server.impl.net.tcp.ssl;
package org.graylog2.syslog4j.server.impl.net.tcp.ssl;
import java.io.IOException;
import javax.net.ServerSocketFactory;
import javax.net.ssl.SSLServerSocketFactory;
import org.productivity.java.syslog4j.SyslogRuntimeException;
import org.productivity.java.syslog4j.server.impl.net.tcp.TCPNetSyslogServer;
import org.graylog2.syslog4j.SyslogRuntimeException;
import org.graylog2.syslog4j.server.impl.net.tcp.TCPNetSyslogServer;
/**
* SSLTCPNetSyslogServer provides a simple threaded TCP/IP server implementation

View File

@ -1,6 +1,6 @@
package org.productivity.java.syslog4j.server.impl.net.tcp.ssl;
package org.graylog2.syslog4j.server.impl.net.tcp.ssl;
import org.productivity.java.syslog4j.server.impl.net.tcp.TCPNetSyslogServerConfig;
import org.graylog2.syslog4j.server.impl.net.tcp.TCPNetSyslogServerConfig;
/**
* SSLTCPNetSyslogServerConfig provides configuration for SSLTCPNetSyslogServer.

View File

@ -1,6 +1,6 @@
package org.productivity.java.syslog4j.server.impl.net.tcp.ssl;
package org.graylog2.syslog4j.server.impl.net.tcp.ssl;
import org.productivity.java.syslog4j.server.impl.net.tcp.TCPNetSyslogServerConfigIF;
import org.graylog2.syslog4j.server.impl.net.tcp.TCPNetSyslogServerConfigIF;
/**
* SSLTCPNetSyslogServerConfigIF provides configuration for SSLTCPNetSyslogServer.

View File

@ -1,4 +1,4 @@
package org.productivity.java.syslog4j.server.impl.net.udp;
package org.graylog2.syslog4j.server.impl.net.udp;
import java.io.IOException;
import java.net.DatagramPacket;
@ -7,11 +7,11 @@ import java.net.InetAddress;
import java.net.SocketException;
import java.net.UnknownHostException;
import org.productivity.java.syslog4j.SyslogConstants;
import org.productivity.java.syslog4j.SyslogRuntimeException;
import org.productivity.java.syslog4j.server.SyslogServerEventIF;
import org.productivity.java.syslog4j.server.impl.AbstractSyslogServer;
import org.productivity.java.syslog4j.util.SyslogUtility;
import org.graylog2.syslog4j.SyslogConstants;
import org.graylog2.syslog4j.SyslogRuntimeException;
import org.graylog2.syslog4j.server.SyslogServerEventIF;
import org.graylog2.syslog4j.server.impl.AbstractSyslogServer;
import org.graylog2.syslog4j.util.SyslogUtility;
/**
* UDPNetSyslogServer provides a simple non-threaded UDP/IP server implementation.

View File

@ -1,6 +1,6 @@
package org.productivity.java.syslog4j.server.impl.net.udp;
package org.graylog2.syslog4j.server.impl.net.udp;
import org.productivity.java.syslog4j.server.impl.net.AbstractNetSyslogServerConfig;
import org.graylog2.syslog4j.server.impl.net.AbstractNetSyslogServerConfig;
/**
* UDPNetSyslogServerConfig provides configuration for UDPNetSyslogServer.

Some files were not shown because too many files have changed in this diff Show More