Project

General

Profile

How to start a wt program right?

Added by Markus Wolters over 11 years ago

Hi everybody,

is there a wt way to start a wt programm without any output? I've already defined a log directory in wt_config.xml, but still got a lot output with build in webserver. If started like: "./kcc ---docroot . ---http-address 0.0.0.0 ---http-port 8080 &",

the programm went to background, but hangs and html page is not usable any more.

Thank

Markus


Replies (1)

RE: How to start a wt program right? - Added by Koen Deforche over 11 years ago

Hey Markus,

You can also dump the accesslog to a file using --accesslog access.log

and redirect all the remaining output (there is some I noticed) to dev null:

./kcc --docroot . --http-address 0.0.0.0 --http-port 8080 --accesslog access.log > /dev/null 2>&1 &

Regards,

koen

    (1-1/1)