udplogger and nginx
Umesh Sirsiwal
usirsiwal at verivue.com
Mon Dec 12 22:16:50 UTC 2011
Looking at the code, I don't see any log withing actual udplog handler.
So it may be working. You may be able to check on your syslog server or
using syslog.
-Umesh
On 12/12/2011 04:58 PM, Xavier Beaudouin wrote:
> Hi :)
>
> Le 12 déc. 2011 à 22:11, Umesh Sirsiwal a écrit :
>
>>>> access_udplog on;
>> This needs to be replaced with
>> access_udplog<ip address of syslog server>;
>>
>> http://www.grid.net.ru/nginx/udplog.en.html
>>
>> has more documentation.
> Yeah... doesn't work as well :
>
> 2011/12/12 22:57:48 [debug] 80726#0: *6 tcp_nopush
> 2011/12/12 22:57:48 [debug] 80726#0: *6 sendfile: 0, @0 10:10
> 2011/12/12 22:57:48 [debug] 80726#0: *6 http write filter 0000000000000000
> 2011/12/12 22:57:48 [debug] 80726#0: *6 http copy filter: 0 "/index.html?"
> 2011/12/12 22:57:48 [debug] 80726#0: *6 http finalize request: 0, "/index.html?" a:1, c:2
> 2011/12/12 22:57:48 [debug] 80726#0: *6 http request count:2 blk:0
> 2011/12/12 22:57:48 [debug] 80726#0: *6 http finalize request: -4, "/index.html?" a:1, c:1
> 2011/12/12 22:57:48 [debug] 80726#0: *6 http request count:1 blk:0
> 2011/12/12 22:57:48 [debug] 80726#0: *6 http close request
> 2011/12/12 22:57:48 [debug] 80726#0: *6 http log handler
> 2011/12/12 22:57:48 [debug] 80726#0: *6 http udplog handler
> 2011/12/12 22:57:48 [debug] 80726#0: *6 run cleanup: 00000008011FF6F8
> 2011/12/12 22:57:48 [debug] 80726#0: *6 file cleanup: fd:10
> 2011/12/12 22:57:48 [debug] 80726#0: *6 free: 00000008011FF000, unused: 1872
> 2011/12/12 22:57:48 [debug] 80726#0: *6 close http connection: 3
> 2011/12/12 22:57:48 [debug] 80726#0: *6 reusable connection: 0
> 2011/12/12 22:57:48 [debug] 80726#0: *6 free: 0000000800E13400
> 2011/12/12 22:57:48 [debug] 80726#0: *6 free: 0000000800E21C00
> 2011/12/12 22:57:48 [debug] 80726#0: *6 free: 0000000800E7C200, unused: 8
> 2011/12/12 22:57:48 [debug] 80726#0: *6 free: 0000000800E7C300, unused: 128
> 2011/12/12 22:57:48 [debug] 80726#0: timer delta: 440
> 2011/12/12 22:57:48 [debug] 80726#0: posted events 0000000000000000
>
>
> As you see, "http udplog handler is started, but..." doesn't seems to be used.
>
> Xavier
More information about the nginx
mailing list