Maxime
008160998a
Added LogRoller parser and entity.
...
The errors and logs can now have log rolling if provided by the user.
The current customisable parameter of it are:
The maximal size of the file before rolling.
The maximal age/time of the file before rolling.
The number of backups to keep.
2015-09-02 15:13:31 +02:00
Matthew Holt
04571ff393
NewReplacer takes third argument for empty value string
2015-07-24 10:27:19 -06:00
Matthew Holt
c811d416a7
log: Customizable default error function
2015-06-15 10:17:09 -06:00
Simon Jefford
6c1f2af53a
log: ensure the correct status is always logged
...
in the case of error (>=400) then no response may have been sent
2015-06-14 21:00:27 +01:00
Zac Bergquist
e4b50aa814
Fix more lint warnings
2015-05-24 22:52:34 -04:00
Matthew Holt
995edf0566
Bringing in latest from master; refactoring under way
2015-05-04 11:02:46 -06:00
Matthew Holt
51139a5f56
log: Fix so user can specify custom log format
2015-04-23 13:35:21 -06:00
Matthew Holt
d33256f1dc
Refactor: Middleware chain uses Handler instead of HandlerFunc
2015-04-02 23:30:54 -06:00
Matthew Holt
7578298b3f
Rewrote access log middleware
2015-03-28 16:50:42 -06:00
Matthew Holt
09aad777f4
Proper host/port splitting; also log file perms
2015-03-26 23:39:36 -06:00
Matthew Holt
ae2a2d5b00
Godoc for middleware packages and server package
2015-01-29 23:52:18 -07:00
Matthew Holt
e6063fb26b
Moved logging middleware into its own package
2015-01-29 22:05:21 -07:00