Page 1 of 1

How to get the date for the VirtualBox log entries...?

Posted: 3. Feb 2021, 13:41
by jmar83_the2nd
Hi there!

I just can see entries lie `00:00:01.273736 VMX - Virtual-Machine Extensions = 0 (1)`

But how to get the date? I much more need the date than a seconds value with a very very precise floating point value... ;-)

Re: How to get the date for the VirtualBox log entries...?

Posted: 3. Feb 2021, 14:20
by Martin
Have a look at the second line of the log. ;)

Re: How to get the date for the VirtualBox log entries...?

Posted: 3. Feb 2021, 14:25
by jmar83_the2nd
Nothing with 2021...
screenshot
screenshot
thrth.JPG (127.96 KiB) Viewed 1512 times

Re: How to get the date for the VirtualBox log entries...?

Posted: 3. Feb 2021, 15:00
by mpack
None of those is the second line of the log. Being the second line of the screenshot doesn't count!

Re: How to get the date for the VirtualBox log entries...?

Posted: 3. Feb 2021, 15:38
by jmar83_the2nd
Sry. i don't unterstand - so how to get the Date?

Re: How to get the date for the VirtualBox log entries...?

Posted: 3. Feb 2021, 15:52
by mpack
I never use the inbuilt log viewer in VirtualBox - but I just tried it and it looks nothing like yours: there are scroll bars and my scroll bar "thumb" is very small and at the bottom - I can drag the thumb to the top to see the first few lines of the log. I find Notepad++ more familiar. Just go to the logs subfolder in the VM folder.

Re: How to get the date for the VirtualBox log entries...?

Posted: 3. Feb 2021, 16:29
by jmar83_the2nd
Thanks, will look on it!

Re: How to get the date for the VirtualBox log entries...?

Posted: 3. Feb 2021, 16:31
by jmar83_the2nd
"and it looks nothing like yours"

Is use VirtualBox 6.0.x, not 6.1.x... maybe that's the reason?

Re: How to get the date for the VirtualBox log entries...?

Posted: 3. Feb 2021, 18:18
by mpack
I'm using 6.1.18, but that is not the reason for the different visual appearance. That was, I assume, because you trimmed off the scroll bars for your screenshot.

Re: How to get the date for the VirtualBox log entries...?

Posted: 3. Feb 2021, 18:25
by scottgus1
Jan, in your "Nothing with 2021" screenshot, That log textbox always opens at the bottom of the log with the most recent log lines showing. You just have to scroll to the top of the shown log textbox. The second line shows the date of the last start.

Example from a 6.1.16 host, first two lines:

00:00:03.693638 VirtualBox VM 6.1.12 r139181 win.amd64 (Jul 10 2020 22:02:01) release log
00:00:03.693645 Log opened 2020-09-09T18:52:27.852405000Z

From a 6.0.14 host:

00:00:03.383675 VirtualBox VM 6.0.14 r133895 win.amd64 (Oct 10 2019 19:44:31) release log
00:00:03.383679 Log opened 2021-01-13T15:45:44.611579600Z

Re: How to get the date for the VirtualBox log entries...?

Posted: 3. Feb 2021, 18:42
by jmar83_the2nd
Oh, thank you very much!! :-)