Log Clean up for SVN repo -


there log file svn present below,

    $ pwd     /var/svn/repositories/axs/hooks/commitlog/     $ ls -lh errorlog     -rwxr-xr-x 1 apache apache 6.9m jul 22 18:37 errorlog     $ cat errorlog |wc -l     68151 

since number of lines in file more, need clean file, clean should in way, before clean need file current date , empty current file.

below had idea of,

  1. using logrotate - the server didn't have logrotate installed
  2. writing script backup , delete - deleting file may cause problems other users if code commit during delete operation

what method advisable this. kindly suggest. information not sudo user or admin user.

this not standard subversion logfile rather appears 1 created hook script installed & managed repo admin.

you need speak repository administrator. individual should able give guidance on how best manage file.


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -