Project

General

Profile

bug #6287

Rolling cdmserver.log file only contains entries from startup phase

Added by Andreas Kohlbecker about 2 years ago. Updated 3 months ago.

Status:
In Progress
Priority:
Priority14
Category:
cdmserver
Target version:
Start date:
12/19/2016
Due date:
% Done:

0%

Severity:
normal
Found in Version:

Description

The last entry in the cdmserver.log always is:

... INFO [eu.etaxonomy.cdm.server.instance.CdmInstance] - lifeCycleStarted

the logging is only received by the console logger.

The cdmserver.log is hard coded in the Booloader class. preferably the logger should be configured in the log4j.properties.

see http://www.eclipse.org/jetty/documentation/current/configuring-logging-modules.html#_capturing_console_output

for details.


Related issues

Related to Edit - feature request #6249: better logging strategy Closed 12/06/2016
Related to Edit - bug #7085: cdmserver logfiles getting too big, use DailyRollingFileAppender In Progress 11/23/2017

Associated revisions

Revision 696d86cd (diff)
Added by Andreas Kohlbecker about 2 years ago

ref #6287 removing useless RollingFileAppender logger

History

#1 Updated by Andreas Kohlbecker about 2 years ago

  • Subject changed from cdmserver.log only contains entries from startup phase to Rolling cdmserver.log file only contains entries from startup phase
  • Description updated (diff)

The logging into files needs to be configured to jetty:

http://www.eclipse.org/jetty/documentation/current/configuring-logging.html#configuring-jetty-logging

by default jetty will default to using an internal org.eclipse.jetty.util.log.StdErrLog implementation. This will output all logging events to STDERR (aka System.err). which will be written into out.log

#2 Updated by Andreas Kohlbecker about 2 years ago

#3 Updated by Andreas Kohlbecker about 2 years ago

  • Target version changed from cdmlib - Next Major Release to Reviewed Next Major Release

#4 Updated by Andreas Kohlbecker 3 months ago

  • Description updated (diff)

#5 Updated by Patrick Plitzner 3 months ago

  • Assignee changed from Andreas Kohlbecker to Patrick Plitzner
  • Target version changed from Reviewed Next Major Release to Release 5.4

#6 Updated by Patrick Plitzner 3 months ago

  • Related to bug #7085: cdmserver logfiles getting too big, use DailyRollingFileAppender added

#7 Updated by Patrick Plitzner 3 months ago

  • Status changed from New to Closed
  • Assignee changed from Patrick Plitzner to Andreas Kohlbecker
  • % Done changed from 0 to 100

This is fixed by fixing #7085

#8 Updated by Andreas Kohlbecker 3 months ago

  • Status changed from Closed to In Progress
  • Target version changed from Release 5.4 to Release 5.5
  • % Done changed from 100 to 0

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)