You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by jc...@apache.org on 2021/09/01 10:09:10 UTC

[brooklyn-server] branch master updated: Replace log out for keep it consistence with Tasks

This is an automated email from the ASF dual-hosted git repository.

jcabrerizo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-server.git


The following commit(s) were added to refs/heads/master by this push:
     new ec47312  Replace log out for keep it consistence with Tasks
ec47312 is described below

commit ec47312d1fbacf37cdc41a12b2411cc551feed86
Author: Juan Cabrerizo <ju...@cloudsoft.io>
AuthorDate: Wed Sep 1 11:09:06 2021 +0100

    Replace log out for keep it consistence with Tasks
    
    Replace log out for keep it consistence with logs for Tasks and other actions
---
 .../main/java/org/apache/brooklyn/rest/resources/EffectorResource.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rest/rest-resources/src/main/java/org/apache/brooklyn/rest/resources/EffectorResource.java b/rest/rest-resources/src/main/java/org/apache/brooklyn/rest/resources/EffectorResource.java
index 862f15c..1c276f0 100644
--- a/rest/rest-resources/src/main/java/org/apache/brooklyn/rest/resources/EffectorResource.java
+++ b/rest/rest-resources/src/main/java/org/apache/brooklyn/rest/resources/EffectorResource.java
@@ -92,7 +92,7 @@ public class EffectorResource extends AbstractBrooklynRestResource implements Ef
             throw WebResourceUtils.forbidden("User '%s' is not authorized to invoke effector %s on entity %s",
                     Entitlements.getEntitlementContext().user(), effector.get().getName(), entity);
         }
-        String userInfo = Entitlements.getEntitlementContext() != null ? "by user " + Entitlements.getEntitlementContext().user() : "(no user info available)";
+        String userInfo = Entitlements.getEntitlementContext() != null ? "for user " + Entitlements.getEntitlementContext().user() : "(no user info available)";
         log.info("REST invocation of " + entity + "." + effector.get() + " " + Sanitizer.sanitize(parameters) + " " + userInfo);
         Task<?> t = entity.invoke(effector.get(), parameters);