[metrics-bugs] #25342 [Internal Services/Tor Sysadmin Team]: Please sync recent Apache web server logs from torproject.org hosts to colchicifolium
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Mar 6 12:02:40 UTC 2018
#25342: Please sync recent Apache web server logs from torproject.org hosts to
colchicifolium
-------------------------------------------------+---------------------
Reporter: karsten | Owner: tpa
Type: task | Status: new
Priority: Medium | Milestone:
Component: Internal Services/Tor Sysadmin Team | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
-------------------------------------------------+---------------------
Comment (by weasel):
You might want to update /srv/collector.torproject.org/collector/bin/ssh-
wrap to support receiving the weblogs.
this is the current script on wendelboi:
{{{
/srv/webstats.torproject.org$ cat /srv/webstats.torproject.org/bin/weblog-
ssh-wrap
#!/bin/sh
set -e
set -u
if [ "$#" != "1" ] || [ -z "${SSH_ORIGINAL_COMMAND:-}" ]; then
echo >&2 "Usage: $0 <sourcename> [via remote ssh]"
exit 1
fi
target="/srv/webstats.torproject.org/incoming/$1"
mkdir -p "$target"
rsync --server -logDtpre.iLsfx --delete . "$target/."
}}}
Once that is in place I can check how to get that working without breaking
the bridgedb sync at the same time.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25342#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the metrics-bugs
mailing list