CakeFest 2024: The Official CakePHP Conference

Uso básico de VarnishLog

El ejemplo muestra la lectura de líneas del registro de varnish de memoria compartida

Ejemplo #1 Lectura del log de varnish en la memoria compartida

<?php

$vl
= new VarnishLog;
while(
1) {
$line = $vl->getLine();
printf("%s %d %s", VarnishLog::getTagName($line['tag']), $line['id'],
$line['data']);
}

exit(
0);
?>
add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top