Merged in development (pull request #7)

Development
This commit is contained in:
Mark Nellemann 2021-12-14 21:12:13 +00:00
commit c38ae5f60b
4 changed files with 21 additions and 18 deletions

View file

@ -1,6 +1,6 @@
# Syslog Server # Syslog Server
All received messages are written to *stdout* and/or forwarded to a remote logging solution. All received messages are written to *stdout* and/or forwarded to a remote logging destination.
The syslog server is able to listen on both UDP and TCP and parses syslog messages in either RFC5424 or RFC3164 (BSD) format. The syslog server is able to listen on both UDP and TCP and parses syslog messages in either RFC5424 or RFC3164 (BSD) format.
@ -9,9 +9,12 @@ This software is free to use and is licensed under the [Apache 2.0 License](http
![architecture](https://bitbucket.org/mnellemann/syslogd/downloads/syslogd.svg) ![architecture](https://bitbucket.org/mnellemann/syslogd/downloads/syslogd.svg)
The default syslog port (514) requires you to run syslogd as root / administrator. The default syslog port (514) requires you to run syslogd as root / administrator.
If you do not wish to do so, you can choose a port number (with the *-p* or *--port* flag) above 1024. If you do not wish to do so, you can choose any port number (with the *-p* or *--port* flag) above 1024.
Supported remote logging solutions are Syslog (RFC5424 over UDP), Graylog (GELF over UDP) and Grafana Loki. Supported remote logging destinations are:
- Syslog (RFC5424 over UDP)
- Graylog (GELF over UDP)
- and Grafana Loki (HTTP over TCP).
## Usage Instructions ## Usage Instructions
@ -75,7 +78,7 @@ If you don't want any output locally (only forwarding), you can use the ```--no-
### IBM AIX and VIO Servers ### IBM AIX and VIO Servers
Syslog messages from AIX (and IBM Power Virtual I/O Servers) can be troublesome with some logging solutions. These can be received with Syslog messages from AIX (and IBM Power Virtual I/O Servers) can be troublesome with some logging solutions. These can be received with
syslogd and then forwarded on to your preferred logging solution. *syslogd* and then forwarded on to your preferred logging solution.
### Forwarding to Grafana Loki ### Forwarding to Grafana Loki

View file

@ -2,28 +2,28 @@ plugins {
id 'java' id 'java'
id 'groovy' id 'groovy'
id 'application' id 'application'
id "com.github.johnrengelman.shadow" version "6.1.0" id "com.github.johnrengelman.shadow" version "7.1.0"
id "net.nemerosa.versioning" version "2.14.0" id "net.nemerosa.versioning" version "2.15.1"
id "nebula.ospackage" version "8.5.2" id "nebula.ospackage" version "9.0.0"
} }
repositories { repositories {
jcenter() mavenCentral()
} }
dependencies { dependencies {
annotationProcessor 'info.picocli:picocli-codegen:4.6.1' annotationProcessor 'info.picocli:picocli-codegen:4.6.2'
implementation 'info.picocli:picocli:4.6.1' implementation 'info.picocli:picocli:4.6.2'
implementation 'org.slf4j:slf4j-api:1.7.30' implementation 'org.slf4j:slf4j-api:1.7.32'
implementation 'org.slf4j:slf4j-simple:1.7.30' implementation 'org.slf4j:slf4j-simple:1.7.32'
testImplementation('org.spockframework:spock-core:2.0-M4-groovy-3.0') testImplementation('org.spockframework:spock-core:2.0-groovy-3.0')
testImplementation 'org.slf4j:slf4j-api:1.7.30' testImplementation 'org.slf4j:slf4j-api:1.7.32'
testRuntime("org.slf4j:slf4j-simple:1.7.30") testRuntimeOnly("org.slf4j:slf4j-simple:1.7.32")
} }
application { application {
mainClassName = 'biz.nellemann.syslogd.Application' getMainClass().set('biz.nellemann.syslogd.Application')
} }
test { test {

View file

@ -1,3 +1,3 @@
id = syslogd id = syslogd
group = biz.nellemann.syslogd group = biz.nellemann.syslogd
version = 1.2.4 version = 1.2.5

View file

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.1-bin.zip
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists