﻿id	summary	reporter	owner	description	type	status	component	version	resolution	keywords	cc	guest	host
3549	VBoxHeadless is not headless on Windows => Fixed in SVN	Rehan Khan		"Hi

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?
"	enhancement	closed	other	VirtualBox 2.1.4	fixed	vboxheadless service		Linux	other
