diff options
author | onefang | 2020-03-24 13:23:35 +1000 |
---|---|---|
committer | onefang | 2020-03-24 13:23:35 +1000 |
commit | 3e9d2d2e7c34f99be8b87f2b1ad0612eaf012cc7 (patch) | |
tree | 92afe9b856be84886925f2fc58825a7f145c2aed /src/sledjchisl | |
parent | Add a debug setting. (diff) | |
download | opensim-SC-3e9d2d2e7c34f99be8b87f2b1ad0612eaf012cc7.zip opensim-SC-3e9d2d2e7c34f99be8b87f2b1ad0612eaf012cc7.tar.gz opensim-SC-3e9d2d2e7c34f99be8b87f2b1ad0612eaf012cc7.tar.bz2 opensim-SC-3e9d2d2e7c34f99be8b87f2b1ad0612eaf012cc7.tar.xz |
Poor mans logging of FCGI, for now.
Diffstat (limited to '')
-rw-r--r-- | src/sledjchisl/sledjchisl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index 83a4774..5b4c207 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c | |||
@@ -474,6 +474,7 @@ qlist_t *dbRequests; | |||
474 | 474 | ||
475 | // TODO - log to file. The problem is we don't know where to log until after we have loaded the configs, and before that we are spewing log messages. | 475 | // TODO - log to file. The problem is we don't know where to log until after we have loaded the configs, and before that we are spewing log messages. |
476 | // Now that we are using spawn-fcgi, all the logs are going to STDERR, which we can capture and write to a file. | 476 | // Now that we are using spawn-fcgi, all the logs are going to STDERR, which we can capture and write to a file. |
477 | // Unfortunately spawn-fcgi in deamon mode sends all the output to /dev/null or something. | ||
477 | // A better idea, when we spawn tmux or spawn-fcgi, capture STDERR, full log everything to that, filtered log to the tmux console (STDOUT). | 478 | // A better idea, when we spawn tmux or spawn-fcgi, capture STDERR, full log everything to that, filtered log to the tmux console (STDOUT). |
478 | // Then we can use STDOUT / STDIN to run the console stuff. | 479 | // Then we can use STDOUT / STDIN to run the console stuff. |
479 | 480 | ||