Text cleanup.

This commit is contained in:
Mark Nellemann 2021-03-25 21:13:06 +01:00
parent 7c2762dcff
commit e92d2b0684
2 changed files with 6 additions and 3 deletions

View File

@ -5,8 +5,11 @@ Configure rsyslog on your PowerVC instance to forward authentication messages to
Create a file new file in the **/etc/rsyslog.d** folder (eg. *remote.conf*) with the following content:
```text
# Log authentication messages to remote host
auth.info,authpriv.info @10.32.64.1
# Log all authentication messages to remote host
auth.* @10.32.64.1
# Log messages with severity warning (or above) to remote host
*.warn @10.32.64.1
```
Restart the rsyslog service

View File

@ -11,7 +11,6 @@ import java.nio.charset.StandardCharsets;
public class LokiClient {
private final static Logger log = LoggerFactory.getLogger(LokiClient.class);
private final URL url;
@ -45,6 +44,7 @@ public class LokiClient {
log.debug("send() - msg: " + msg);
}
} catch (IOException e) {
log.error("send() - " + e.getMessage());
} finally {