Raspberry shut down

Hello everyone

I'm using octoprint with my raspberry pi zero W since June, and all worked fine up to now
I let it alone for about 2 weeks and now, when I want to print something the pi shut down without any notification before
I can upload things, but after I press the print button (from the web interface or the Telegram interface) the pi shut down instantly

Thank you for your help

Give us logs and dmesg ..

I'm a little bit new to the way it works, can you explain me how do I get these ?

How to find the logs is described in this thread.