Skip to main content

Squid access.log (if u know)

Information to each access to the Cache
Native Format (emulate_httpd_log off)

Timestamp Elapsed Client Action/Code Size Method URI Ident Hierarchy/From Content

 
Common Format (emulate_httpd_log on)
Client Ident - [Timestamp1] "Method URI" Type Size




with:
Timestamp
The time when the request is completed (socket closed). The format is "Unix time" (seconds since Jan 1, 1970) with millisecond resolution.
Timestamp1
When the request is completed (Day/Month/CenturyYear:Hour:Minute:Second GMT-Offset)
Elapsed
The elapsed time of the request, in milliseconds. This is the time between the accept() and close() of the client socket.
Client
The IP address of the connecting client, or the FQDN if the 'log_fqdn' option is enabled in the config file.
Action
The Action describes how the request was treated locally (hit, miss, etc). All the tags are described below.
Code
The HTTP reply code taken from the first line of the HTTP reply header. For ICP requests this is always "000." If the reply code was not given, it will be logged as "555."
Size
For TCP requests, the amount of data written to the client. For UDP requests, the size of the request. (in bytes)
Method
The HTTP request method (GET, POST, etc), or ICP_QUERY for ICP requests.
URI
The requested URI.
Ident
The result of the RFC931/ident lookup of the client username. If RFC931/ident lookup is disabled (default: `ident_lookup off'), it is logged as - .
Hierarchy
A description of how and where the requested object was fetched.
From
Hostname of the machine where we got the object.
Content
Content-type of the Object (from the HTTP reply header).

Action


"TCP_" refers to requests on the HTTP port (3128)
TCP_HITA valid copy of the requested object was in the cache.
TCP_MISSThe requested object was not in the cache.
TCP_REFRESH_HITAn expired copy of the requested object was in the cache. Squid made an If-Modified-Since request and the response was "Not Modified."
TCP_REFRESH_FAIL_HITAn expired copy of the requested object was in the cache. Squid attempted to make an If-Modified-Since request, but it failed. The old (stale) object was delivered to the client.
TCP_REFRESH_MISSAn expired copy of the requested object was in the cache. Squid made an If-Modified-Since request and received a new, different object.
TCP_CLIENT_REFRESHThe client issued a request with the "no-cache" pragma. ("reload" - handled as MISS)
TCP_IMS_HITAn If-Modified-Since GET request was received from the client. A valid copy of the object was in the cache (fresh).
TCP_IMS_MISSAn If-Modified-Since GET request was received from the client. The requested object was not in the cache (stale).
TCP_SWAPFAILThe object was believed to be in the cache, but could not be accessed.
TCP_DENIEDAccess was denied for this request.


"UDP_" refers to requests on the ICP port (3130)
UDP_HITA valid copy of the requested object was in the cache
UDP_HIT_OBJSame as UDP_HIT, but the object data was small enough to be sent in the UDP reply packet. Saves the following TCP request.
UDP_MISSThe requested object was not in the cache
UDP_DENIEDAccess was denied for this request
UDP_INVALIDAn invalid request was received.
UDP_RELOADINGThe neighbor cache is reloading its disk store metadata and does not want any TCP requests for MISSES until it is finished.

Errors
ERR_READ_TIMEOUTThe remote site or network is unreachable - may be down.
ERR_LIFETIME_EXPThe remote site or network may be too slow or down.
ERR_NO_CLIENTS_BIG_OBJAll Clients went away before tranmission completed and the object is too big to cache.
ERR_READ_ERRORThe remote site or network may be down.
ERR_CLIENT_ABORTClient dropped connection before transmission completed. Squid fetches the Object according to its settings for `quick_abort'.
ERR_CONNECT_FAILThe remote site or server may be down.
ERR_INVALID_REQInvalid HTTP request
ERR_UNSUP_REQUnsupported request
ERR_INVALID_URLInvalid URL syntax
ERR_NO_FDSOut of file descriptors
ERR_DNS_FAILDNS name lookup failure
ERR_NOT_IMPLEMENTEDProtocol Not Supported
ERR_CANNOT_FETCHThe requested URL can not currently be retrieved.
ERR_NO_RELAYThere is no WAIS relay host defined for this cache.
ERR_DISK_IOThe system disk is out of space or failing.
ERR_ZERO_SIZE_OBJECTThe remote server closed the connection before sending any data.
ERR_FTP_DISABLEDThis cache is configured to NOT retrieve FTP objects.
ERR_PROXY_DENIEDAccess Denied. The user must authenticate himself before accessing this cache.


Methodes


GETRequest URL
HEADRequest only HTTP headers of the supplied URL and no document body
POSTTransfer data to the supplied URL
PUTStore data under the supplied URL
CONNECTForward data to SSL-Server:Port
ICP_QUERYRequest from a Parent/Neighbor for the supplied URL
NONERequest of an unsupported method

Hierarchy

NONEThe object requested by a sibling, was not in my cache.
DIRECTThe object has been requested from the origin server.
SIBLING_HITThe object was requested from a neighbor cache which replied with a UDP_HIT (formerly logged as NEIGHBOR_HIT).
PARENT_HITThe object was requested from a parent cache which replied with a UDP_HIT.
DEFAULT_PARENTThe object was requested from a default parent cache appropriate for this URL.
SINGLE_PARENTThe object was requested from the only parent cache appropriate for this URL.
FIRST_UP_PARENTThe object has been requested from the first available parent in your list.
NO_PARENT_DIRECTThe object was requested from the origin server because no parent caches exist for the URL.
FIRST_PARENT_MISSThe object has been requested from the parent cache with the fastest weighted round trip time.
ROUNDROBIN_PARENTNo ICP queries were received from any parent caches. This parent was chosen because it was marked as 'default' in the config file and it had the lowest round-robin use count.
CLOSEST_PARENT_MISSThis parent was selected because it included the lowest RTT measurement to the origin server. This only appears with 'query_icmp on' set in the config file.
CLOSEST_DIRECTThe object was fetched directly from the origin server because this cache measured a lower RTT than any of the parent caches.
LOCAL_IP_DIRECTThe object has been requested from the origin server because the origin host IP address matched your 'local_ip' list.
FIREWALL_IP_DIRECTThe object has been requested from the origin server because the origin host IP address is inside your firewall.
NO_DIRECT_FAILThe object could not be requested because of firewall restrictions and no parent caches were available.
SOURCE_FASTESTThe object was requested from the origin server because the 'source_ping' reply arrived first.
SIBLING_UDP_HIT_OBJThe object was received in a UDP_HIT_OBJ reply from a neighbor cache (formerly logged as UDP_HIT_OBJ).
PARENT_UDP_HIT_OBJThe object was received in a UDP_HIT_OBJ reply from a parent cache (formerly logged as UDP_HIT_OBJ).
PASSTHROUGH_PARENTThe neighbor or proxy defined in the config option 'passthrough_proxy' was used.
SSL_PARENT_MISSThe neighbor or proxy defined in the config option 'ssl_proxy' was used.

Note:Almost any of these may be preceeded by 'TIMEOUT_' if the two-second (default) timeout occurs waiting for all ICP replies to arrive from neighbors.


source : pak @onnowpurbo >>> http://www.linofee.org/~jel/proxy/Squid/accesslog.shtml

Comments

Popular posts from this blog

Logika IF AND dalam Excel perhitungan Kelulusan

Tulisan ini adalah sebagai jawaban dari pertanyaan dari seorang teman. dan pertanyaannya.! Bagaimana mengetahui status kelulusan jika nilai akhir paling rendah 5.5 dan nilai setiap mapel paling rendah 4.0, selain itu maka tidak lulus. Langsung Jawab aja. digambarkan seperti gambar dibawah ini. Karena sudah diketahui bentuk datanya seperti gambar diatas langsung saja di susun rumusnya. rumusnya menggunakan IF dan AND. kenapa menggunakan Rumus AND Excel karena terdapat dua logika (kriteria) atau lebih yang semuanya harus memenuhi syarat maka menghasilkan nilai TRUE. Jika salah satu logika tidak terpenuhi sesuai dengan syarat yang ditetapkan, maka akan menghasilkan nilai FALSE. dan berikut ini rumusnya. =IF(AND(F6>=4,F7>=4,F8>=4,F9>=4,F10>=4,F12>=5.5),"Lulus","Tidak Lulus")  dan liat hasilnya *) Karena tadi kriterianya adalah nilai mapel paling rendah 4 dan nilai akhir paling rendah 5.5, walaupun disitu ada nilai empat maka dia di...

Malam Minggu dijepara 3/3/12

Malam minggu memang asik buat pacaran. hehehe itu yang punya pacar :) kalo aku karena masih jauh nan disana ya jalan-jalan adja ketemu teman-teman. ada hal menarik dalam perjalananku, tadi malam itu jepara rame banget. semua berpakaian rapi, dandan yang cantik, tetapi ada juga yang berpakaian semrawut :) tetapi tetep rapi. Kondisi jalan malam itu lumayan padat apalagi di alun-alun jepara. semua tertumpah disana bermain,ngobrol, sepedaan dll. @alun2 jepara juga tiap malam minggu banyak komunitas anak muda seperti (motor, sepatu roda,sepeda,mig33, kaskus, etc) melakukakn gathering. duh asyik tuh sambil mamerin tuh yang dimiliki unik unik dan menarik untuk dilihat. Namun ironis ya sebelahnya alun-alun jepara ada masjid yang lagi ada kegiatan pengajian yang isinya ibu2, bapak2 dan sedikit anak muda. yach itu sih pilihan mau kemana yang dituju, senang entar di akhirat pilih sebelah ( red-masjid) mau senengnya dunia (red-alun-alun) pokoknya bebasa dah malam minggu :) .

Menulis Simbol Matematika di Moodle

Setelah berhasil install Wiris untuk Math Tools untuk menulis simbol-simbol matematika. nah sekarang saya mau berbagi tips Langkah-langkah menulis simbol-simbol matematika di moodle. Oke Langsung saja. Gambaran Umumya, anda sudah mempunyai Course dan siap menambahkan materi/Quiz atau yang lain-lain. example menambahkan resource Compose a web Page.