Skip to content

Instantly share code, notes, and snippets.

View labkey-bconn's full-sized avatar

Brian Connolly labkey-bconn

  • LabKey Software
  • Seattle
View GitHub Profile

Keybase proof

I hereby claim:

  • I am labkey-bconn on github.
  • I am bconn (https://keybase.io/bconn) on keybase.
  • I have a public key ASCHGPea9mrSAhSPMPGqb52gBO-l5Gyo7QR72zNvZcWi5Ao

To claim this, I am signing this object:

@labkey-bconn
labkey-bconn / gist:6df611f418f55518a5a3
Created December 12, 2014 18:01
LabKey's recommended access logging configuration

The following valve configuration should replace the default valve configuration in the server.xml file.

<Valve className="org.apache.catalina.valves.AccessLogValve"
    directory="logs"
    prefix="localhost_access_log."
    suffix=".txt"
    resolveHosts="false"

pattern="%h %l %u %t "%r" %s %b %D %S "%{Referer}i" "%{User-Agent}i" %{LABKEY.username}s %q" />