[ https://issues.apache.org/jira/browse/CLOUDSTACK-1664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13602331#comment-13602331 ]
Kishan Kavala commented on CLOUDSTACK-1664: ------------------------------------------- Only scheduled type events are getting logged for async APIs since they do not use ActionEvent annotation. > Action Events are not logged due to spring changes > -------------------------------------------------- > > Key: CLOUDSTACK-1664 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1664 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server > Affects Versions: 4.1.0 > Environment: Build from 4.1 > Reporter: Sangeetha Hariharan > Assignee: Kelven Yang > Priority: Critical > Fix For: 4.1.0 > > > ActionEvent annotations are in manager Impl. Spring proxies the interface and > not the implementing class. Since there are not annotations at the interface > level, needToIntercept method in ActionEventInterceptor always returns false. > TransactionContextBuilder intercepts by getting the implementing class and > going through all the methods in it to match the method name. Going through > all the methods every time may not be efficient. There could be multiple > methods with same name, so matching by method name could be error prone > aswell. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira