summaryrefslogtreecommitdiff
path: root/log.c
diff options
context:
space:
mode:
authorStefan Esser2014-02-12 12:49:23 +0100
committerStefan Esser2014-02-12 12:49:23 +0100
commitd0c2cd9dad27515ad7c899e5ccaa54fdac01a15e (patch)
tree46243fea570571d022e18123a1ea1a44be53391e /log.c
parente451aecc9c277455e6e4d2b96252ad411f156d0a (diff)
Added suhosin.log.stdout to log to stdout (dor debugging purposes)
Diffstat (limited to 'log.c')
-rw-r--r--log.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/log.c b/log.c
index ea81cae..8b23063 100644
--- a/log.c
+++ b/log.c
@@ -286,6 +286,9 @@ log_sapi:
286 sapi_module.log_message(buf TSRMLS_CC); 286 sapi_module.log_message(buf TSRMLS_CC);
287#endif 287#endif
288 } 288 }
289 if ((SUHOSIN_G(log_stdout) & loglevel)!=0) {
290 printf("%s\n", buf);
291 }
289 292
290/*log_script:*/ 293/*log_script:*/
291 /* script logging activaed? */ 294 /* script logging activaed? */