# rights:
#   Copyright 1999 Jean Pierre LeJacq <jplejacq@quoininc.com>.
#
#   Distributed under the GNU GENERAL PUBLIC LICENSE.
#
# source:
#   /var/cvs/projects/org/wnserver/wn/debian/src/wn/DM_FS_PKG_ETC_LOGROTATED.in,v
#
# revision:
#   1.1
#
# state:
#   Exp
#
# author:
#   jplejacq@quoininc.com
#
# last-modified:
#   2000/01/29 04:17:53
#
# last-editor:
#   jplejacq@quoininc.com
#
# description:
#   Host configuration of logrotate for wn.
#
#   wn support logging either through its own log files or through
#   syslogd.  This file should be empty if syslogd is used.



"/var/log/wn/wn_access.log"
{
  rotate 5
  weekly
  compress
  create 0640 www-data adm

  errors root
}


"/var/log/wn/wn_error.log"
{
  rotate 5
  weekly
  compress
  create 0640 www-data adm

  postrotate
    /etc/init.d/wn restart > /dev/null
  endscript

  errors root
}
