hello... in my work for debug purpose it would be handy to output the log to a file. will l4vfs_log do the job? if so, i can't understand the example of starting the server. could someone send me an example how to start and use this log server?
thanks
Tiago
Tiago Jorge wrote:
hello... in my work for debug purpose it would be handy to output the log to a file. will l4vfs_log do the job?
No.
I cite from my README:
"This server provides simply output channels in l4vfs manner, which are forwarded to log. As such it wraps log's output features, but provides its functionality trough a simple open()/write()/close() interface."
if so, i can't understand the example of starting the server.
What exactly is it that you don't understand about the example?
could someone send me an example how to start and use this log server?
Again from the README:
./fiasco -lname_server -l"fstab -c /server -c /server/log -v10 -b/ \ -m/server/log" -ll4vfs_log -l"my_prog1 --stdout \ /server/log/my_prog_channel"
l4vfs_log simply provides an l4vfs program with a way to have its stdout / stderr redirected to log. You can simply transfer logs output via a nullmodem cable and save the data on another computer.
Greets, Martin
l4-hackers@os.inf.tu-dresden.de