Activate Log to see which user log in from which IP

I want to see which user log in to the system at which time and IP
is there somewhere a log or a logger which can be used?

I think you are looking for the admin audit options, which are described in the Nextcloud Adminstrator Guide.