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 <[email protected]> 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 <[email protected]> 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
>> 

Reply via email to