Log nextcloud android

Hi,

I’m trying to give some help about nextcloud android by investigating the logs.
The problem is that I can’t seem to get the logs.

Under windows I’m trying this
platform-tools>adb logcat | "C:\Program Files (x86)\GnuWin32\bin\grep" "$(adb shell ps | gawk '/com.nextcloud.client/{print $2}')" > logcatOutputnextcloud.txt

The resulting file is empty. So I’m doing something wrong apparently
Could someone Try this on windows too? There is no error in the cmd while I run the command.
Could someone try that in windows, most of the tools are available on sourceforge.
I need to compare with someone else to know if it’s specific to my fairphone 3 or if it’s specific to windows or something else.
By comparing I would be able to say that.