Added timestamps to server log.
This commit is contained in:
parent
2541614b79
commit
02f78e9437
|
@ -1,5 +1,9 @@
|
|||
BEGIN {
|
||||
debug( REMOTE_ADDR " " REQUEST_FULL_URL );
|
||||
debug( \
|
||||
exec_to_string( "date -Iseconds" ) \
|
||||
" " REMOTE_ADDR \
|
||||
" " REQUEST_FULL_URL \
|
||||
);
|
||||
|
||||
_REQUEST_NO_PROTOCOL = str_replace( "[^:]+:\\/\\/", "", REQUEST_FULL_URL );
|
||||
REQUEST_URI = str_replace( "[^/]+\\/?", "/", _REQUEST_NO_PROTOCOL );
|
||||
|
|
Loading…
Reference in New Issue