[Labs-l] IRC logs are gone

Petr Bena benapetr at gmail.com
Sat Dec 15 00:28:26 UTC 2012


I finished analysing bot code, there is only one function that removes logs
and that is removing the folder as well in this case the folder remained,
so I don't think it was a bot malfunction... No matter what happened I will
try to make it more hard to remove the logs


On Sat, Dec 15, 2012 at 1:22 AM, Petr Bena <benapetr at gmail.com> wrote:

> I restored them from automatic backup, but we are missing 3 days,
> 11.12.2012 is last day of backup - 12. 13. 14 is missing
>
> the bot is making a tarball every day. today's tarball which was created
> from yesterday's files is already missing almost all logs, that's why I
> think it happened yesterday as well, and today there was only 1 log file in
> each directory, that means removal happened again. that's why I mean every
> day. Don't know if it happened 12. 12. as well
>
>
>
> On Sat, Dec 15, 2012 at 1:12 AM, Jeremy Baron <jeremy at tuxmachine.com>wrote:
>
>> On Fri, Dec 14, 2012 at 6:55 PM, Petr Bena <benapetr at gmail.com> wrote:
>> > Hi, I don't know what happened, but someone removed recursively all
>> data in
>> > ~wm-bot/logs
>>
>> Wasn't that accident already announced?
>>
>> > I may have a backup but because this removal was done yesterday or
>> earlier
>> > and apparently happens every day, it's a problem, because even the
>> complete
>> > logs archive is almost empty now.
>>
>> Every day?? elaborate?
>>
>> I have my own personal logs too. But I'm not in all channels the bot
>> is logging and I'd need to figure out which parts to publish or not.
>> (e.g. when someone disabled or enabled logging) Also we'd have to deal
>> with hostname redaction. Do we have a record of all times that logs
>> have needed manual redacting? a la oversight. Because mine would be
>> unaffected by prior redactions so the same info that merits oversight
>> would end up getting published again.
>>
>> -Jeremy
>>
>> _______________________________________________
>> Labs-l mailing list
>> Labs-l at lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/labs-l
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/labs-l/attachments/20121215/f7500a90/attachment.html>


More information about the Labs-l mailing list