Skip to content

Commit

Permalink
Fix Query Log data
Browse files Browse the repository at this point in the history
  • Loading branch information
AzureMarker committed Mar 2, 2016
1 parent f3625ef commit 725d0de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions data.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ function getAllQueries() {
$exploded = explode(" ", trim($query));
array_push($allQueries['data'], array(
$time->format('Y-m-d\TH:i:s'),
substr($exploded[4], 6, -1),
$exploded[5],
$exploded[7],
substr($exploded[5], 6, -1),
$exploded[6],
$exploded[8],
));
}

Expand Down

5 comments on commit 725d0de

@zscholl
Copy link

@zscholl zscholl commented on 725d0de Mar 3, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I used the install script yesterday on my Pi and got the old code here.
I noticed the issue and was just about to make a pull request for the fix and realized the fix is already in place.

Not sure, but there could be an issue with the install script

@AzureMarker
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, you may have just installed right before I fixed it. It was very recent.

@DonLexos
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can fix this by running updateDashboard.sh. Latest is 1.1.4

@ShoGinn
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this changed? It seems to have actually broke the display of logs?

@ShoGinn
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mar 12 10:46:57 dnsmasq[457]: query[A] p28-keyvalueservice-current.edge.icloud.apple-dns.net from 192.168.1.1
Mar 12 10:46:57 dnsmasq[457]: forwarded p28-keyvalueservice-current.edge.icloud.apple-dns.net to 8.8.4.4
Mar 12 10:46:57 dnsmasq[457]: forwarded p28-keyvalueservice-current.edge.icloud.apple-dns.net to 8.8.8.8
Mar 12 10:46:57 dnsmasq[457]: reply p28-keyvalueservice-current.edge.icloud.apple-dns.net is 17.248.128.211

Dnsmasq version 2.72 Copyright (c) 2000-2014 Simon Kelley Compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC loop-detect

Please sign in to comment.