Ticket #3549 (closed enhancement: fixed)
VBoxHeadless is not headless on Windows => Fixed in SVN
|Reported by:||rasker||Owned by:|
|Version:||VirtualBox 2.1.4||Keywords:||vboxheadless service|
I have been trying to run vboxheadless as a windows service (see http://forums.virtualbox.org/viewtopic.php?f=6&t=15450). I have got it working alright but it does not run truely headless as it needs a console for stdout. Starting virtualbox without the ability to open a console (disabling 'allow service to interact with the desktop') makes it error out with a large (possibly meaningless) minus number.
I'm not sure exactly how it works but I read that on windows createprocess() can redirect it's stdout and stderr to files. For example http://support.microsoft.com/kb/190351.
Another option to give flexible log output might be to use logger.dll which can be found here -> http://www.nick.rozanski.org.uk/logger. logger.dll can log to a file, the event log or to stdout/stderr. It seems to also have a linux version but i'm not sure if this helps.
Is it possible to add an option to redirect the stdout/stderr to a file or the event log?
comment:12 Changed 3 years ago by frank
- Status changed from new to closed
- Resolution set to duplicate
- Summary changed from vboxheadless is not headless on windows to VBoxHeadless is not headless on Windows => Fixed in SVN
comment:13 Changed 3 years ago by frank
- Status changed from closed to reopened
- Resolution duplicate deleted