You can easily use a plugin to do this job, but as you know plugins add overheads to your blog.
That is why I would recommend you to use the code below if you would like to change the default WordPress login logo for your site.
Please note that you will need to upload your image via FTP in the images directory of your theme.
Also, remember to change the name of your image in the code above.
Additionally, it’s recommended for the image to be 274px wide and 63px tall. Otherwise, you will need to add additional CSS to make it work.
In case you need it, there is also a way to customize the WordPress Login Logo URL.