nextcloud / circles

👪 Create groups with other users on a Nextcloud instance and share with them
GNU Affero General Public License v3.0
141 stars 47 forks source link

Circles app spams log with information-less messages in "error" mode. #1554

Closed kuepe-sl closed 2 months ago

kuepe-sl commented 3 months ago

Since a recent update, the Circles app causes the following (confusing) messages to appear in my Nextcloud log:

{
  "reqId": "xxxxxxxxxxxxxxxxxxxx",
  "level": 3,
  "time": "2024-04-16T14:47:53+00:00",
  "remoteAddr": "xxx.xxx.xxx.xxx",
  "user": "--",
  "app": "no app in context",
  "method": "POST",
  "url": "/apps/circles/async/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/",
  "message": ">> Member",
  "userAgent": "--",
  "version": "28.0.4.1",
  "data": [],
  "id": "xxxxxxxxxxxxx"
}

This appears regularly, and it is written with Error level.

I tracked this down to the following line: https://github.com/nextcloud/circles/blob/c5c05ad7f33fc2507fafe1938ce01fb8f0c972f0/lib/FederatedItems/SingleMemberAdd.php#L166

If this is a serious error, please make the message more verbose and tag it with the proper application.
If this is just a debug leftover, please remove it or decrease the log level.

kuepe-sl commented 2 months ago

fixed by #1545

rchaconmolero commented 2 months ago

I have the same problem in NextCloud version: 28.0.5.1

/var/log/nextcloud/nextcloud.log:{"reqId":"bV4djBHtqbQEJEzMTCGj","level":3,"time":"2024-05-16T11:02:12+02:00","remoteAddr":"XXX.XXX.XXX.XXX","user":"--","app":"no app in context","method":"POST","url":"/apps/circles/async/0d51cdc5-6795-41d1-8719-d60b7e21a431/","message":">> Member","userAgent":"—","version":"28.0.5.1","data":[]}

Whats the workaround?. Thanks.