This is your own request ID is it?

So long as you aren't using an old mod_wsgi version, you can use %L in log 
message prefix to get the log ID created by Apache. This is also available as 
mod_wsgi.request_id in the WSGI environ dictionary if need to tie things 
together.

Is there a reason the name for the type of device can't be in the body of a 
single message for the request instead of the prefix of every message. Is it 
just because if all goes okay you don't want noise being logged?

Anyway, let me think about what might work here.

Graham

> On 21 Oct 2017, at 12:05 am, Piotr Dobrogost 
> <google-groups.2...@p.dobrogost.net> wrote:
> 
> On Friday, October 20, 2017 at 1:06:29 PM UTC+2, Graham Dumpleton wrote:
> What actual values are you want to convey using this?
> 
> Two examples are request id generated by web application and type of device 
> which sent request as read from specific field of request body (json).
>  
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "modwsgi" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to modwsgi+unsubscr...@googlegroups.com 
> <mailto:modwsgi+unsubscr...@googlegroups.com>.
> To post to this group, send email to modwsgi@googlegroups.com 
> <mailto:modwsgi@googlegroups.com>.
> Visit this group at https://groups.google.com/group/modwsgi 
> <https://groups.google.com/group/modwsgi>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to modwsgi+unsubscr...@googlegroups.com.
To post to this group, send email to modwsgi@googlegroups.com.
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to