Feature #2551

Move httpd-admin web server logs

Added by Davide Principi over 7 years ago. Updated over 7 years ago.

Status:CLOSEDStart date:01/02/2014
Priority:NormalDue date:01/02/2014
Assignee:-% Done:

100%

Category:nethserver-httpd-admin
Target version:v6.5-beta3
Resolution: NEEDINFO:No

Description

Move httpd-admin web server logs under /var/log/httpd-admin/


Related issues

Related to NethServer 6 - Feature #2492: Move admin user in LDAP DB CLOSED 12/17/2013 12/19/2013

Associated revisions

Revision 24e15e2d
Added by Davide Principi over 7 years ago

httpd-admin log files moved to /var/log/httpd-admin/. Refs #2551

Added also configuration file for logrotate.

History

#1 Updated by Davide Principi over 7 years ago

  • Due date set to 01/02/2014
  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Davide Principi
  • Start date set to 01/02/2014
  • % Done changed from 20 to 30
  • Estimated time set to 2.00

#2 Updated by Davide Principi over 7 years ago

Release notes

When this issue is CLOSED, add to nethserver-httpd-admin release notes:

New log file directory is /var/log/httpd-admin/. Remove old log files from /var/log/httpd:

    # rm -vf /var/log/httpd/admin_*

Test case

After upgrading log files are under /var/log/httpd-admin/. Check also logrotate effectively rotates the log files.

#3 Updated by Davide Principi over 7 years ago

  • Status changed from ON_DEV to MODIFIED
  • Assignee deleted (Davide Principi)
  • % Done changed from 30 to 60

#4 Updated by Davide Principi over 7 years ago

  • Status changed from MODIFIED to ON_QA
  • % Done changed from 60 to 70

In nethserver-testing:
nethserver-lib-1.4.0-3.0gitce8e11f1.ns6.noarch.rpm
nethserver-base-1.5.0-11.0git12b07501.ns6.noarch.rpm
nethserver-directory-1.3.0-12.0git01b2300a.ns6.noarch.rpm
nethserver-nethgui-1.3.0-5.0gitb985d576.ns6.noarch.rpm
nethserver-mail-server-1.5.0-8.0git7757599e.ns6.noarch.rpm
nethserver-samba-1.4.0-3.0git4fc31495.ns6.noarch.rpm
nethserver-ejabberd-1.0.2-3.0git6fec4e8d.ns6.noarch.rpm
nethserver-hylafax-1.0.3-2.0git1b8d9075.ns6.noarch.rpm
nethserver-httpd-admin-1.1.0-9.0git9b2daa63.ns6.noarch.rpm

#5 Updated by Giacomo Sanchietti over 7 years ago

  • Assignee set to Giacomo Sanchietti

#6 Updated by Giacomo Sanchietti over 7 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 70 to 90

After update no data are written on old logs:

[root@test yum.repos.d]# ll /var/log/httpd-admin/
total 8
-rw-r--r--. 1 root root 1444 Jan 15 14:38 access_log
-rw-r--r--. 1 root root  564 Jan 15 14:30 error_log
[root@test yum.repos.d]# ll /var/log/httpd/admin_*
-rw-r--r--. 1 root root 13368 Oct 18 13:05 /var/log/httpd/admin_access_log
-rw-r--r--. 1 root root  3403 Dec  3 17:10 /var/log/httpd/admin_error_log

#7 Updated by Davide Principi over 7 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100

Released in nethserver/6.5/base repository.

Also available in: Atom PDF