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

Discussions related to using VirtualBox on Windows hosts.
Post Reply
jmar83_the2nd
Posts: 341
Joined: 9. Mar 2012, 00:14

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

Post 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... ;-)
regards, jan
Martin
Volunteer
Posts: 2562
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP, Win7, Win10, Linux, OS/2

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

Post by Martin »

Have a look at the second line of the log. ;)
jmar83_the2nd
Posts: 341
Joined: 9. Mar 2012, 00:14

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

Post by jmar83_the2nd »

Nothing with 2021...
screenshot
screenshot
thrth.JPG (127.96 KiB) Viewed 1511 times
regards, jan
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

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

Post by mpack »

None of those is the second line of the log. Being the second line of the screenshot doesn't count!
jmar83_the2nd
Posts: 341
Joined: 9. Mar 2012, 00:14

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

Post by jmar83_the2nd »

Sry. i don't unterstand - so how to get the Date?
regards, jan
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

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

Post 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.
jmar83_the2nd
Posts: 341
Joined: 9. Mar 2012, 00:14

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

Post by jmar83_the2nd »

Thanks, will look on it!
regards, jan
jmar83_the2nd
Posts: 341
Joined: 9. Mar 2012, 00:14

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

Post by jmar83_the2nd »

"and it looks nothing like yours"

Is use VirtualBox 6.0.x, not 6.1.x... maybe that's the reason?
regards, jan
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

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

Post 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.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

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

Post 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
jmar83_the2nd
Posts: 341
Joined: 9. Mar 2012, 00:14

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

Post by jmar83_the2nd »

Oh, thank you very much!! :-)
regards, jan
Post Reply