[MRM-1191] Add Archiva log files in documentation

Submitted by: Jevica Arianne B. Zurbano
o identified and defined what each log file is for

additional modifications to the patch:
o reworded description of archiva-audit.log and archiva.log


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@798099 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Maria Odea B. Ching 2009-07-27 10:53:56 +00:00
parent 8b235c1283
commit 8053590db6
5 changed files with 107 additions and 2 deletions

View File

@ -0,0 +1,37 @@
------
Archiva Logs
------
------
22 Jul 2009
------
Archiva Logs
Archiva's <<<logs>>> directory contains an archiva log file named <<<archiva.log>>>, which logs all the startup information and the output logs of Archiva.
A typical record looks like this:
------
2009-07-13 16:04:52,869 [WrapperSimpleAppMain] INFO org.apache.maven.archiva.security.ArchivaStandardRolesCheck -
Checking the existance of required roles.
2009-07-13 16:04:52,869 [WrapperSimpleAppMain] INFO org.apache.maven.archiva.security.ArchivaStandardRolesCheck -
Checking the existance of required operations.
2009-07-13 16:04:52,869 [WrapperSimpleAppMain] INFO org.apache.maven.archiva.web.startup.SecuritySynchronization -
Environment Check: required-roles -> 0 violation(s)
2009-07-13 16:04:53,371 [WrapperSimpleAppMain] INFO org.apache.maven.archiva.web.startup.Banner - _________________________
__________________________________
/\_ / \
/`/@), | On behalf of all of the alpacas |
| (~' __| toiling away on the Apache Archiva |
_,--.___/ | \ project team, I would like to |
,' , ( | \ welcome you to Archiva |
| ( \ / | 1.2.1 |
\ )\_/ ,_/ | |
/ / ( |/ | http://archiva.apache.org/ |
( | ( | | users@archiva.apache.org |
\| \| \__________________________________/
2009-07-13 16:04:55,129 [WrapperSimpleAppMain] INFO org.codehaus.plexus.redback.struts2.interceptor.SecureActionInterceptor -
org.codehaus.plexus.redback.struts2.interceptor.SecureActionInterceptor initialized!
------

View File

@ -4,7 +4,7 @@
Audit Logs
Archiva's log directory contains an audit log file named <<<archiva-audit.log>>>, which tracks events that occur in the server.
Archiva's <<<logs>>> directory contains an audit log file named <<<archiva-audit.log>>>, which tracks events that occur in the server.
A typical record looks like this:

View File

@ -0,0 +1,24 @@
------
Log Files
------
------
22 Jul 2009
------
Log Files
To keep track of the Archiva performance and problems, log files are created during runtime.
These files can be found in the <<<logs/>>> directory.
* {{{archiva-logs.html} <<archiva.log>>}} - contains all the start-up information and output logs for Archiva
* {{{audit-logs.html} <<archiva-audit.log>>}} - contains information regarding the operations performed against
the repositories and configurations being modified. A good example is when an artifact
is deployed to an Archiva repository. The operation will be logged in this file,
with the date and timestamp of when the operation occurred, the userId of who performed
the deployment, and the artifact that was deployed.
* {{{security-logs.html} <<archiva-security-audit.log>>}} - contains information regarding Archiva's security.
For example, a successful login of a user or a user account is created.
[]

View File

@ -0,0 +1,40 @@
------
Security Logs
------
------
22 Jul 2009
------
Security Logs
Archiva's <<<logs>>> directory contains a security log file named <<<archiva-security-audit.log>>>,
which keeps track of all the security operations such as user creation/deletion, user role assignments, and user log in/out.
A typical record looks like this:
------
2009-07-22 12:03:11 - - Successful Login for user admin
2009-07-22 12:05:03 - admin - User Created: archiva
2009-07-22 12:05:25 - admin - Role Assigned to user archiva: Global Repository Manager
2009-07-22 12:05:33 - admin - User Modified: archiva
------
The hyphen delimited records are:
* date and time (server local time)
* current user performing the operation
* the operation performed
[]
Currently, the following events are logged:
* user creation/modification/deletion
* user log in/out
* assigning roles to a user
[]

View File

@ -66,7 +66,11 @@
<item name="Consumers" href="/adminguide/consumers.html" />
</item>
<item name="Configuration Files" href="/adminguide/configuration-files.html" />
<item name="Audit Logs" href="/adminguide/audit-logs.html" />
<item name="Log Files" href="/adminguide/logging.html" >
<item name="Archiva Logs" href="/adminguide/archiva-logs.html" />
<item name="Audit Logs" href="/adminguide/audit-logs.html" />
<item name="Security Logs" href="/adminguide/security-logs.html" />
</item>
<item name="Reports" href="/adminguide/reports.html" />
<item name="Web Services" href="/adminguide/web-services.html" />
</menu>