Skip to content

Commit c4b50f3

Browse files
committed
fix customaction logging
Signed-off-by: Abhishek Kumar <[email protected]>
1 parent 1bc3c66 commit c4b50f3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

framework/extensions/src/main/java/org/apache/cloudstack/framework/extensions/vo/ExtensionCustomActionVO.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
package org.apache.cloudstack.framework.extensions.vo;
1818

1919
import org.apache.cloudstack.extension.ExtensionCustomAction;
20+
import org.apache.cloudstack.utils.reflectiontostringbuilderutils.ReflectionToStringBuilderUtils;
21+
2022
import com.cloud.utils.db.GenericDao;
2123

2224
import javax.persistence.Column;
@@ -205,4 +207,9 @@ public void setRemoved(Date removed) {
205207
this.removed = removed;
206208
}
207209

210+
@Override
211+
public String toString() {
212+
return String.format("Extension Custom Action %s", ReflectionToStringBuilderUtils.reflectOnlySelectedFields(this, "id", "uuid", "name", "extensionId", "resourceType"));
213+
}
214+
208215
}

0 commit comments

Comments
 (0)