No, unfortunately you will not receive a notification when someone logs onto your server and uses commands (if you are offline the server).
However, you can install a plugin 'DiscordSRV', and you can get logs sent to a Discord server of who logs on, is doing commands, etc.