You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Taro Fukunaga <ta...@gmail.com> on 2010/10/29 00:42:12 UTC

svnsync creates big log files

Hi, I am experimenting with svnsync with a repository that has a lot of
changes. I found that svnsync creates very large log files  in
access_<date>.log. Is there a way to turn off this logging? I find that the
disk space consumed by this log file is really big.

Thanks for any help.

My environment:
OS: Centos 5.5 on an i386
Software: CollabNet Subversion 1.3.0-1621.49 (hence the svnsync comes with
this)

Re: svnsync creates big log files

Posted by Mark Phippard <ma...@gmail.com>.
On Sat, Oct 30, 2010 at 8:51 AM, Nico Kadel-Garcia <nk...@gmail.com> wrote:
> On Thu, Oct 28, 2010 at 10:56 PM, Mark Phippard <ma...@gmail.com> wrote:
>> His information indicates he is using CollabNet Subversion Edge and this has automatic log rotation and cleanup by default.
>>
>> Sent from my iPhone
>
> That's a hint that it's set up correctly as far as CollabNet's package
> goes. But if he's got a manually built Apache running and didn't
> bother to set up log rotation correctly with it, it's going to
> accumulate. Like checking that your car has gas in it after your kids
> drive it, it's worth checking in a development environment as someone
> first sets up Subversion.

I understand and was not discounting your advice.  CollabNet
Subversion Edge is a complete managed stack that includes Apache and
all binaries.  Also, the log file name matched the default.  There is
no other Apache version or anything to configure so it was pretty easy
to be confident that log rotation was being used.


-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/

Re: svnsync creates big log files

Posted by Nico Kadel-Garcia <nk...@gmail.com>.
On Thu, Oct 28, 2010 at 10:56 PM, Mark Phippard <ma...@gmail.com> wrote:
> His information indicates he is using CollabNet Subversion Edge and this has automatic log rotation and cleanup by default.
>
> Sent from my iPhone

That's a hint that it's set up correctly as far as CollabNet's package
goes. But if he's got a manually built Apache running and didn't
bother to set up log rotation correctly with it, it's going to
accumulate. Like checking that your car has gas in it after your kids
drive it, it's worth checking in a development environment as someone
first sets up Subversion.

Re: svnsync creates big log files

Posted by Mark Phippard <ma...@gmail.com>.
His information indicates he is using CollabNet Subversion Edge and this has automatic log rotation and cleanup by default.

Sent from my iPhone

On Oct 28, 2010, at 10:46 PM, Nico Kadel-Garcia <nk...@gmail.com> wrote:

> On Thu, Oct 28, 2010 at 8:48 PM, Mark Phippard <ma...@gmail.com> wrote:
>> That is your Apache access log.  There are just a lot of requests happening. Logs are rotated daily, just delete them after a day.
>> 
>> Sent from my iPhone
> 
> Only if it's configured correctly. For people who build their own
> "apache", also now known as "httpd", they need to remember to rotate
> these logs. Packages such as .deb and RPM typically have the log
> rotation setups built in, but I've seen people decide to de-activate
> log rotation "to keep it forever", much as Subversion has no
> gracefully way to entirely delete old branches from the repository
> "because source control should never discard things!".
> 
> The reality is that occasionally making a break point and making a
> clean start, whether with code or with logs, can be very helpful to
> keep from having to deal with a lot of stale, useless old material.
> 
>> On Oct 28, 2010, at 8:42 PM, Taro Fukunaga <ta...@gmail.com> wrote:
>> 
>>> Hi, I am experimenting with svnsync with a repository that has a lot of changes. I found that svnsync creates very large log files  in access_<date>.log. Is there a way to turn off this logging? I find that the disk space consumed by this log file is really big.
>>> 
>>> Thanks for any help.
>>> 
>>> My environment:
>>> OS: Centos 5.5 on an i386
>>> Software: CollabNet Subversion 1.3.0-1621.49 (hence the svnsync comes with this)
>>> 
>>> 
>> 

Re: svnsync creates big log files

Posted by Nico Kadel-Garcia <nk...@gmail.com>.
On Thu, Oct 28, 2010 at 8:48 PM, Mark Phippard <ma...@gmail.com> wrote:
> That is your Apache access log.  There are just a lot of requests happening. Logs are rotated daily, just delete them after a day.
>
> Sent from my iPhone

Only if it's configured correctly. For people who build their own
"apache", also now known as "httpd", they need to remember to rotate
these logs. Packages such as .deb and RPM typically have the log
rotation setups built in, but I've seen people decide to de-activate
log rotation "to keep it forever", much as Subversion has no
gracefully way to entirely delete old branches from the repository
"because source control should never discard things!".

The reality is that occasionally making a break point and making a
clean start, whether with code or with logs, can be very helpful to
keep from having to deal with a lot of stale, useless old material.

> On Oct 28, 2010, at 8:42 PM, Taro Fukunaga <ta...@gmail.com> wrote:
>
>> Hi, I am experimenting with svnsync with a repository that has a lot of changes. I found that svnsync creates very large log files  in access_<date>.log. Is there a way to turn off this logging? I find that the disk space consumed by this log file is really big.
>>
>> Thanks for any help.
>>
>> My environment:
>> OS: Centos 5.5 on an i386
>> Software: CollabNet Subversion 1.3.0-1621.49 (hence the svnsync comes with this)
>>
>>
>

Re: svnsync creates big log files

Posted by Mark Phippard <ma...@gmail.com>.
That is your Apache access log.  There are just a lot of requests happening. Logs are rotated daily, just delete them after a day.

Sent from my iPhone

On Oct 28, 2010, at 8:42 PM, Taro Fukunaga <ta...@gmail.com> wrote:

> Hi, I am experimenting with svnsync with a repository that has a lot of changes. I found that svnsync creates very large log files  in access_<date>.log. Is there a way to turn off this logging? I find that the disk space consumed by this log file is really big. 
> 
> Thanks for any help. 
> 
> My environment: 
> OS: Centos 5.5 on an i386
> Software: CollabNet Subversion 1.3.0-1621.49 (hence the svnsync comes with this)
> 
>