DaanHoogland commented on a change in pull request #5983:
URL: https://github.com/apache/cloudstack/pull/5983#discussion_r806939578
##########
File path:
services/secondary-storage/server/src/main/java/org/apache/cloudstack/storage/resource/HttpUploadServerHandler.java
##########
@@ -113,6 +113,7 @@ public void channelInactive(ChannelHandlerContext ctx)
throws Exception {
@Override
public void channelRead0(ChannelHandlerContext ctx, HttpObject msg) throws
Exception {
if (msg instanceof HttpRequest) {
+ logger.trace(String.format("HTTP request: %s", msg));
Review comment:
ok, makes sense @JoaoJandre . Then I would suggest
```suggestion
if (logger.isTraceEnabled()) {
logger.trace(String.format("HTTP request: %s", msg));
}
```
alternative add a higher level, especially if it is meant for operators as
well.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]