aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-docs/src/site/apt/adminguide/logging.apt
blob: a06e4843b6bf115029695fcf2192a1e84fc827be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
 ------
 Log Files
 ------
 ------
 2009-07-22
 ------
 
~~ Licensed to the Apache Software Foundation (ASF) under one                      
~~ or more contributor license agreements.  See the NOTICE file                    
~~ distributed with this work for additional information                           
~~ regarding copyright ownership.  The ASF licenses this file                      
~~ to you under the Apache License, Version 2.0 (the                               
~~ "License"); you may not use this file except in compliance                      
~~ with the License.  You may obtain a copy of the License at                      
~~                                                                                 
~~   http://www.apache.org/licenses/LICENSE-2.0                                    
~~                                                                                 
~~ Unless required by applicable law or agreed to in writing,                      
~~ software distributed under the License is distributed on an                     
~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY                          
~~ KIND, either express or implied.  See the License for the                       
~~ specific language governing permissions and limitations                         
~~ under the License.                                                              

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.
  
  []

  Note since 1.4-M4, the log4j2 asyncLogger feature is configured per default.

  This mean per default AsyncLogger.WaitStrategy option is configured to Sleep.

  If you are on a constrained environment, you can change it to Block (-DAsyncLogger.WaitStrategy=Block)
  (See {{{http://logging.apache.org/log4j/2.x/manual/async.html}log4j2 documentation}} )