Skip to content

Commit 59dda5b

Browse files
JoaoJandreJoaoDaanHoogland
authored
Added a log line to HttpUploadServerHandler (apache#5983)
* Added a log line to HttpUploadServerHandler * Removed \n * Address review Co-authored-by: dahn <[email protected]> Co-authored-by: Joao <[email protected]> Co-authored-by: dahn <[email protected]>
1 parent d4f40ec commit 59dda5b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎services/secondary-storage/server/src/main/java/org/apache/cloudstack/storage/resource/HttpUploadServerHandler.java‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ public void channelInactive(ChannelHandlerContext ctx) throws Exception {
113113
@Override
114114
public void channelRead0(ChannelHandlerContext ctx, HttpObject msg) throws Exception {
115115
if (msg instanceof HttpRequest) {
116+
if (logger.isTraceEnabled()) {
117+
logger.trace(String.format("HTTP request: %s", msg));
118+
}
116119
HttpRequest request = this.request = (HttpRequest) msg;
117120
responseContent.setLength(0);
118121

0 commit comments

Comments
 (0)