![]() |
#1 |
Member
Join Date: Jan 2005
Posts: 56
|
referrers to log file.
Hi
How can i log to listener refferers to log file ? (W3 Log file is match with normal log file) Is there such a setting? thanks |
![]() |
![]() |
![]() |
#2 |
Forum King
Join Date: Aug 2004
Location: Hollis, Queens/The Bronx, NYC
Posts: 3,555
|
i think if you enable the debug option for HTTP Requests, you'll get request headers ... the doc says listener connections and connections to the dnas web server will be logged... you may get a lot of other junk too.... so try it, and see if it gives you what you need.
edit:add the .conf/.ini setting is httpstyledebug=1 /* v2 HTML5 / Player test pages DigitalMixNYC, DigitalMixNYCbx | DNAS Status: Now Playing js codes (scaststatus_X.php) | PortForward.com | Upload/Download Speed Test | No-IP.com: Free Dynamic DNS | In the YP | dnasDir */ |
![]() |
![]() |
![]() |
#3 | |
Member
Join Date: Jan 2005
Posts: 56
|
Thank you for the information but unfortunately not writing referrrer to log file.
2020-04-09 11:04:39 DEBUG [DST 46.20.**.**:53826] Checking access rights - addr: 46.20.11.230, inBan: 0, inRip: 0, isCDN: 0, ripOnly: 0 2020-04-09 11:04:39 DEBUG [DST 46.20.**.**:53826] Starting client via auth. 2020-04-09 11:04:39 INFO [DST 46.20.**.**:53826 sid=1] HTTP client connection accepted. User-Agent: `Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36', UID: 3, GRID: 3 Quote:
|
|
![]() |
![]() |
![]() |
#4 |
Forum King
Join Date: Aug 2004
Location: Hollis, Queens/The Bronx, NYC
Posts: 3,555
|
the referrer header will only appear if the remote client (browser, player....) provides it. security/privacy settings (like "do not track") will supress the referrer and other headers.
2020-04-09 06:25:39 DEBUG [DST 163.172.213.135:45558] HTTP Request [GET] 2020-04-09 06:25:39 DEBUG [DST 163.172.213.135:45558] HTTP Url [stream/5/] 2020-04-09 06:25:39 DEBUG [DST 163.172.213.135:45558] HTTP Protocol [HTTP] 2020-04-09 06:25:39 DEBUG [DST 163.172.213.135:45558] HTTP Version [1.0] 2020-04-09 06:25:39 DEBUG [DST 163.172.213.135:45558] HTTP Header [host:69.125.93.49] 2020-04-09 06:25:39 DEBUG [DST 163.172.213.135:45558] HTTP Header [icy-metadata:1] 2020-04-09 06:25:39 DEBUG [DST 163.172.213.135:45558] HTTP Header [user-agent:node-internet-radio v0.1.6] 2020-04-09 06:25:39 DEBUG [DST 163.172.213.135:45558] Checking access rights - addr: 163.172.213.135, inBan: 0, inRip: 0, isCDN: 0, ripOnly: 0 2020-04-09 06:25:39 DEBUG [DST 163.172.213.135:45558] Starting client via auth. /* v2 HTML5 / Player test pages DigitalMixNYC, DigitalMixNYCbx | DNAS Status: Now Playing js codes (scaststatus_X.php) | PortForward.com | Upload/Download Speed Test | No-IP.com: Free Dynamic DNS | In the YP | dnasDir */ Last edited by djSpinnerCee; 9th April 2020 at 15:04. |
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|