I’m having a some issues with authentication, although I can’t seem to find where the log files are and how I can turn on debugging.
There is no field specified in the systemd file either. I’m just wondering if I missed something in the documentation or this is something to be added in the future.
If you’re running the service under systemd you can see the logs by using journald. Example:
journalctl -u boundary-server.service # replace 'boundary-server' with the name of your boundary systemd unit name.
You can find the systemd unit file name by checking the systemd unit file.
We currently don’t support any log redirection within Boundary itself and instead leave this to the init systems that are running the process. Let me know if this helps!
Thanks for the quick reply. I’ve tried that command, but it doesn’t show any logs regarding client log on. And all I can see on the client is 401 Error “Unauthenticated, or invalid token.”.
No, I haven’t been able to auth. There is something wrong with my role and scope configs that I couldn’t figure out which is why I’m hoping to find something in the logs.
I finally managed to login, I added 2 more roles allowing anonymous login. The rest is unchanged. Although I don’t really understand why I need those 2 roles for logging into Boundary.