<div dir="ltr">1. Any messages generated with std.syslog(<reasonable_integer>, "...") will go to /var/log/messages.  There are a few in default.vcl IIRC.<div>2. You have to look for them in varnishadm panic.show.  It leaves a fair bit of data in /var/log/messages too.</div><div>3.  It won't dump core. The watchdog will restart it.  See also #2</div><div>4.  Guru meditations: Look at the default.vcl for the vcl_error function.  Anything funneled through there can trigger a guru meditation.  Clone the function to your vcl, end it with a 'return(deliver)', and add your logging there.  Varnish originated 503's come through here too.</div><div><br></div><div>-Jason</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 6, 2016 at 12:41 AM, Debraj Manna <span dir="ltr"><<a href="mailto:subharaj.manna@gmail.com" target="_blank">subharaj.manna@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi,<br><br></div>After going through this <a href="https://www.varnish-cache.org/docs/trunk/users-guide/troubleshooting.html" target="_blank">article</a> I am having the following doubts. Can some one help me to clarify this:-<br><br><br></div><div><ol><li>As per the varnish ebook <code>varnishncsa</code> -displays Varnish access logs & <code>varnishlog</code> is used to access request-specific data. Can some let me know what logs then go in <span style="font-family:monospace,monospace">/var/log/messages</span> & <span style="font-family:monospace,monospace">/var/log/syslog</span> ?</li><li>When varnish crashes due to panic where will varnish dump the logs/traces? <span style="font-family:arial,helvetica,sans-serif">I know</span><span style="font-family:monospace,monospace"> panic.show</span> shows the panic messages in cli. Is there a way I can view the panic messages in some files?</li><li>When varnish crashes due to segfault where will varnish puts the messages and core dump?</li><li>How can I dump the 503 / Guru Meditation errors in a file?<br></li></ol></div></div>
<br>_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" rel="noreferrer" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br></blockquote></div><br></div>