* [ANN] clogger 2.3.0 - configurable request logging for Rack
@ 2020-08-10 23:07 5% Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2020-08-10 23:07 UTC (permalink / raw)
To: clogger-public; +Cc: Josh Natanson, ruby-talk
Clogger is Rack middleware for logging HTTP requests. The log format
is customizable so you can specify exactly which fields to log.
Changes:
clogger 2.3.0 - $request_time{POWER,PRECISION} support
The $request_time can now be multiplied by a power-of-10,
allowing up to nanosecond resolution without decimals.
Thanks to Josh Natanson for contributing this feature:
https://yhbt.net/clogger-public/CAPdx2swO4eaOWaqL4-rMLq1H7pH6w-i760vPJTb92tyKfcc01Q@mail.gmail.com/
https://yhbt.net/clogger-public/CAPdx2szjqUuFjUtrgoeXXwmz0HzfdnWe+2h2Sp_ywDkTDVL0-g@mail.gmail.com/T/
There's also some minor fixes and doc updates:
clogger: fix _BSD_SOURCE and _SVID_SOURCE deprecation warnings
doc: update with IMAPS, NNTPS, and .onion mail archive URLs
doc: document Fiber.current
* public mail archives: https://yhbt.net/clogger-public/
* mailto:clogger-public@yhbt.net (no HTML, don't top post)
* homepage: https://yhbt.net/clogger/
* git clone https://yhbt.net/clogger.git
* Atom feed: https://yhbt.net/clogger/NEWS.atom.xml
^ permalink raw reply [relevance 5%]
* [PATCH] clogger: fix _BSD_SOURCE and _SVID_SOURCE deprecation warnings
@ 2020-08-03 23:30 7% Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2020-08-03 23:30 UTC (permalink / raw)
To: clogger-public
Apparently, _DEFAULT_SOURCE is now the recommended macro to
define for _BSD_SOURCE and _SVID_SOURCE features.
---
ext/clogger_ext/clogger.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/ext/clogger_ext/clogger.c b/ext/clogger_ext/clogger.c
index a1f3bc4..a3de120 100644
--- a/ext/clogger_ext/clogger.c
+++ b/ext/clogger_ext/clogger.c
@@ -1,3 +1,6 @@
+/* quiet deprecation for _BSD_SOURCE and _SVID_SOURCE: */
+#define _DEFAULT_SOURCE 1
+
#include <ruby.h>
#ifdef HAVE_RUBY_IO_H
# include <ruby/io.h>
^ permalink raw reply related [relevance 7%]
Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2020-08-03 23:30 7% [PATCH] clogger: fix _BSD_SOURCE and _SVID_SOURCE deprecation warnings Eric Wong
2020-08-10 23:07 5% [ANN] clogger 2.3.0 - configurable request logging for Rack Eric Wong
Code repositories for project(s) associated with this public inbox
https://yhbt.net/clogger.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).