couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Newson <rnew...@apache.org>
Subject Re: Timestamp in CouchDB Logs?
Date Tue, 28 May 2013 20:24:30 GMT
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