jenkinsci / jenkinsci/syslog-java-client

Cloudbees logs some loggers to tomcat console is there a way can this be redirected to any other file or path?

Open
#105 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
91
Forks
71
PR merge metrics
No merged PRs in 30d

Description

Hi, below code is logging information to tomcat console but we want it to be printed to some other file or path, are there any provision given by cloudbees inorder to achieve this instead of printing to tomcat console.

private synchronized void ensureSyslogServerConnection() throws IOException {
InetAddress inetAddress = syslogServerHostnameReference.get();
if (socket != null && !Objects.equals(socket.getInetAddress(), inetAddress)) {
logger.info("InetAddress of the Syslog Server have changed, create a new connection. " +
"Before=" + socket.getInetAddress() + ", new=" + inetAddress);

}}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.