[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Savannah-hackers-public] bzr log info in /var/lib/bzr/.bzr.log
From: |
Martin Pool |
Subject: |
Re: [Savannah-hackers-public] bzr log info in /var/lib/bzr/.bzr.log |
Date: |
Mon, 24 Oct 2011 13:24:17 +1100 |
On 23 October 2011 14:46, Eli Zaretskii <address@hidden> wrote:
>> Date: Sat, 22 Oct 2011 22:51:44 GMT
>> From: address@hidden (Karl Berry)
>>
>> I temporarily switched vcs:/usr/local/bin/bzr-timeout to run with strace
>> instead of timeout, and found /var/lib/bzr/.bzr.log being opened(*).
>> It was a symlink to /dev/null.
>
> That was the /dev/null file descriptor I saw open in /proc/NNN/fd/,
> then.
>
>> So I moved the symlink aside and replaced it with a normal file and ran
>> a typical bzr command. The log msgs weren't impossibly voluminous, so I
>> left it that way, and we'll see how it grows. We'll certainly have to
>> rotate it along with other logs, at least.
>
> I'd expect bzr to rotate it, as it does with client logs. Martin, is
> that expectation correct?
Yes.
>> (*) Also, does not make sense to me that the normal log is a dot file.
>> I would have found it three days ago if it had been a normal name.
>
> I agree, it doesn't make much sense for a server to save a log in a
> dot-file. Perhaps submit a bug report about that.
I agree too; there may already be a bug report.
m