Skip to content

Commit

Permalink
Merge pull request #57 from rajeevbk/release_v1.5.0.3
Browse files Browse the repository at this point in the history
[ANLT-1530] - Capture source ip for unauthorized requests
  • Loading branch information
Nuwansenanayake authored Jan 7, 2021
2 parents f1b6d2b + 5d0b434 commit bd26cdb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<artifactId>logging-extension</artifactId>
<name>logging-extension</name>

<version>1.5.0.1</version>
<version>1.5.0.3</version>
<packaging>bundle</packaging>
<dependencies>
<dependency>
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/com/wso2telco/logging/PropertyLogHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ private void logErrorProperties(MessageContext messageContext, org.apache.axis2.
",ERROR_CODE:" + messageContext.getProperty(ERROR_CODE) +
",HTTP_STATUS:" + axis2MessageContext.getProperty(HTTP_SC) + "" +
",ERROR_MESSAGE:" + messageContext.getProperty(ERROR_MESSAGE) +
",AUTHORIZATION:" + authorization
",AUTHORIZATION:" + authorization +
",REMOTE_HOST:" + axis2MessageContext.getProperty(REMOTE_HOST)
);
}
}
Expand Down

0 comments on commit bd26cdb

Please sign in to comment.