On 23 October 2011 14:46, Eli Zaretskii <[email protected]> wrote:
>> Date: Sat, 22 Oct 2011 22:51:44 GMT
>> From: [email protected] (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

Reply via email to