question

I get a popup saying it will restart my computer after I hit yes… If I do that how do I save the log? (sorry if this is obvious)