Project

General

Profile

feature request #6249

better logging strategy

Added by Andreas Kohlbecker about 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Highest
Category:
cdmlib-remote
Target version:
Start date:
12/06/2016
Due date:
% Done:

50%

Severity:
major

Description

The cdmlib-remote instances in a cdm-server should not create individual logs per instance. It is more suitable if all instances are writing into the same log file which is out.log in case of the cdm-server. An instance should add its instane name to each line in the logfile so that it is possible to filter the log entries based on this instance name. A line in the logfile could look like:

[col] 2016-12-06 17:04:02,622 INFO [eu.etaxonomy.cdm.common.monitor.DefaultProgressMonitor] - 83.89831% done (Completed Task: Update proParte)

whereas [col] is the instance name part


Related issues

Related to Edit - bug #6287: Rolling cdmserver.log file only contains entries from startup phase In Progress 12/19/2016

Associated revisions

Revision f0cf14eb (diff)
Added by Andreas Kohlbecker almost 2 years ago

fix #6249 prefixig all logappender with instance (bean) name and disabling per instance log files

Revision 61d32ca1 (diff)
Added by Andreas Kohlbecker almost 2 years ago

ref #6249 prefixig all logappender with instance (bean) name for EnhancedPatternLayout

History

#1 Updated by Andreas Kohlbecker almost 2 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 50

#2 Updated by Andreas Kohlbecker almost 2 years ago

  • Description updated (diff)

#3 Updated by Andreas Kohlbecker almost 2 years ago

  • Related to bug #6287: Rolling cdmserver.log file only contains entries from startup phase added

#4 Updated by Andreas Kohlbecker almost 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)