incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Kocoloski <kocol...@apache.org>
Subject Re: Timestamp in CouchDB Logs?
Date Wed, 29 May 2013 14:46:44 GMT
We have a ticket for a mod_log_config equivalent that would allow for this (and much more):


https://issues.apache.org/jira/browse/COUCHDB-1401

Adam

On May 28, 2013, at 4:24 PM, Robert Newson <rnewson@apache.org> wrote:

> Not without a code change;
> 
> log_request(#httpd{mochi_req=MochiReq,peer=Peer}, Code) ->
>    ?LOG_INFO("~s - - ~s ~s ~B", [
>        Peer,
>        MochiReq:get(method),
>        MochiReq:get(raw_path),
>        Code
>    ]).
> 
> 
> 
> On 28 May 2013 21:19, Jim Klo <jim.klo@sri.com> wrote:
>> This seems like it should be pretty trivial, but I can't seem to locate any
>> documentation for doing this…
>> 
>> Is there a way to modify the logging format for CouchDB to include a
>> timestamp (of any kind)?
>> 
>> Thanks,
>> 
>> - JK
>> 
>> Jim Klo
>> Senior Software Engineer
>> Center for Software Engineering
>> SRI International
>> t. @nsomnac
>> 


Mime
View raw message