librelist archives

« back to archive

1.0.0 release imminent

1.0.0 release imminent

From:
Eric Wong
Date:
2011-04-19 @ 00:48
Anything obviously missing (or broken)?

I'm mainly looking for things nginx supports that clogger is missing.
Of course stuff like $upstream_* variables in nginx that requires
intimate knowledge of the underlying Rack application so are thus
impossible to mimic.

I haven't heard of anything being broken in a while, so I'll assume
it's all good.  There are no new system-call dependencies in
clogger.git, either, so it's unlikely I broke some things for
systems I don't have access to (everything non-GNU/Linux).


Some things going on in clogger.git:

I just added $time_iso8601 to clogger.git (added to nginx 0.9.6) and
made $time_local local-independent.   $time_local{FORMAT} is still
supported, but FORMAT still uses strftime(3) internally which means it's
locale-aware and unsuitable for consistent logs (nginx doesn't use
strftime(), either).


There's also a minor usability tweak that allows Symbols to be
specified as the :format argument, so config.ru can be shortened:

before:

	use Clogger, :format => Clogger::Format::Rack_1_0

after:

	use Clogger, :format => :Rack_1_0


Thanks for reading!

-- 
Eric Wong