[Varnish] #182: New option to force flush from varnishncsa after each log line

Varnish varnish-bugs at projects.linpro.no
Wed Nov 28 16:06:17 CET 2007


#182: New option to force flush from varnishncsa after each log line
-------------------------+--------------------------------------------------
 Reporter:  adam         |       Owner:  des  
     Type:  enhancement  |      Status:  new  
 Priority:  normal       |   Milestone:       
Component:  varnishncsa  |     Version:  trunk
 Severity:  normal       |    Keywords:       
-------------------------+--------------------------------------------------
 When using varnishncsa to log directly to a file, we get broken log lines,
 since the log buffer is only flushed when full. This gives us broken lines
 in the file, especially when using something like cronolog. I have added
 an option to varnishncsa (-f) that forces a flush after each line. I have
 included patch-files for the source and documentation.

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/182>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list