I just began using Rivet latest version but I can't write reliably to a
log file. The file gets corrupted, only pieces of intended output
appears in it at random, as if is where a race condition.

This is my GlobalInitScript: set log [open /var/www/html/test-dialer-log
a+]

fconfigure $log -buffering none -blocking true


And my script, reduced to one line: puts $log "uri [::rivet::env
REQUEST_URI]"

If I use ::rivet::apache_log_error instead of puts, it works perfectly.

Puzzled. Thanks for any help.

<i>Always striving to honor my word and commitments</i>

Reply via email to