Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
joram
joram
Commits
3914a991
Commit
3914a991
authored
Jun 24, 2020
by
Andre Freyssinet
Browse files
Logging enhancements, avoid stacktrace in WARN level.
parent
6c623c2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
joram/joram/mom/core/src/main/java/org/objectweb/joram/mom/proxies/tcp/TcpProxyService.java
View file @
3914a991
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
* Copyright (C) 2001 - 20
19
ScalAgent Distributed Technologies
* Copyright (C) 2001 - 20
20
ScalAgent Distributed Technologies
* Copyright (C) 1996 - 2000 Dyade
*
* This library is free software; you can redistribute it and/or
...
...
@@ -154,8 +154,12 @@ public class TcpProxyService implements TcpProxyServiceMBean {
serverSocket
=
new
ServerSocket
(
port
,
backlog
,
InetAddress
.
getByName
(
address
));
}
}
catch
(
Exception
exc
)
{
if
(
logger
.
isLoggable
(
BasicLevel
.
DEBUG
))
logger
.
log
(
BasicLevel
.
ERROR
,
"TcpProxyService.createServerSocket("
+
port
+
','
+
backlog
+
','
+
address
+
')'
,
exc
);
else
logger
.
log
(
BasicLevel
.
ERROR
,
"TcpProxyService.createServerSocket("
+
port
+
','
+
backlog
+
','
+
address
+
"): "
+
exc
.
getMessage
());
throw
exc
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment