You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jeff Blaine <jb...@kickflop.net> on 2009/11/03 19:03:41 UTC

'logfile' directive in svnserve.conf not working?

Since before our version (1.6.2), it has supposedly been
possible to perform svnserve logging via one of 2 methods

1.  '--log-file' command-line argument

2.  'logfile=/some/log/file' directive in svnserve.conf

Our problem is that logfile=/some/log/file does no logging
at all for us.

# grep logfile /svnroot/rcf-krb5/conf/svnserve.conf
logfile = /tmp/rcf-krb5-svn.log
#

# ls -ld /tmp/rcf-krb5-svn.log
-rw-rw-rw- 1 root rcf-krb5 0 Nov  2 09:40 /tmp/rcf-krb5-svn.log
#

% svn commit foo.c
jblaine@our-server.foo.com's password:
Sending        foo.c
Transmitting file data .
Committed revision 11.
%

# cat /tmp/rcf-krb5-svn.log
#

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2414195

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: 'logfile' directive in svnserve.conf not working?

Posted by Jeff Blaine <jb...@kickflop.net>.
Thanks for the reply, Stefan.

 From what I can gather from a cursory glance at the
source, the following is true:

* There is no 'logfile=' configuration option supported
   at all for svnserve.conf

   There was no official word that this *was* supported,
   but a google search turned up a user suggesting to
   another user to use it.

* The command-line option, --log-file, is not documented
   in the man page (BUG)

   This option, however, is worthless to us.  We need it
   in svnserve.conf which we (admins) can toggle on the
   server side.

   From other searches, this request/discussion has been
   going on for over 5 years.

Unfortunately, I definitely do not have the time to write
and contribute any code :(


Stefan Sperling wrote:
> On Tue, Nov 03, 2009 at 02:03:41PM -0500, Jeff Blaine wrote:
>> Since before our version (1.6.2), it has supposedly been
>> possible to perform svnserve logging via one of 2 methods
>>
>> 1.  '--log-file' command-line argument
>>
>> 2.  'logfile=/some/log/file' directive in svnserve.conf
>>
>> Our problem is that logfile=/some/log/file does no logging
>> at all for us.
> 
> If I remember correcly svnserve logging only logs error conditions
> for now.
> 
> Stefan
> 
>> # grep logfile /svnroot/rcf-krb5/conf/svnserve.conf
>> logfile = /tmp/rcf-krb5-svn.log
>> #
>>
>> # ls -ld /tmp/rcf-krb5-svn.log
>> -rw-rw-rw- 1 root rcf-krb5 0 Nov  2 09:40 /tmp/rcf-krb5-svn.log
>> #
>>
>> % svn commit foo.c
>> jblaine@our-server.foo.com's password:
>> Sending        foo.c
>> Transmitting file data .
>> Committed revision 11.
>> %
>>
>> # cat /tmp/rcf-krb5-svn.log
>> #
>>
>> ------------------------------------------------------
>> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2414195
>>
>> To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2414749

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: 'logfile' directive in svnserve.conf not working?

Posted by Stefan Sperling <st...@elego.de>.
On Tue, Nov 03, 2009 at 02:03:41PM -0500, Jeff Blaine wrote:
> Since before our version (1.6.2), it has supposedly been
> possible to perform svnserve logging via one of 2 methods
> 
> 1.  '--log-file' command-line argument
> 
> 2.  'logfile=/some/log/file' directive in svnserve.conf
> 
> Our problem is that logfile=/some/log/file does no logging
> at all for us.

If I remember correcly svnserve logging only logs error conditions
for now.

Stefan

> 
> # grep logfile /svnroot/rcf-krb5/conf/svnserve.conf
> logfile = /tmp/rcf-krb5-svn.log
> #
> 
> # ls -ld /tmp/rcf-krb5-svn.log
> -rw-rw-rw- 1 root rcf-krb5 0 Nov  2 09:40 /tmp/rcf-krb5-svn.log
> #
> 
> % svn commit foo.c
> jblaine@our-server.foo.com's password:
> Sending        foo.c
> Transmitting file data .
> Committed revision 11.
> %
> 
> # cat /tmp/rcf-krb5-svn.log
> #
> 
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2414195
> 
> To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

-- 
printf("Eh???/n");

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2414687

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].