Petals ESB Container

Remove the hard-coded configuration of logging sub-system

Details

  • Type: Task Task
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 4.1.0
  • Fix Version/s: 4.2.0
  • Component/s: Configuration, Logging
  • Security Level: Public
  • Description:
    Hide

    A lot of stuff about logging configuration is done when starting Petals ESB, see:

    • org.ow2.petals.kernel.server.PetalsServerImpl#initializeLogger
    • org.ow2.petals.kernel.server.PetalsServerImpl#forceInitializeGlobalHandlers
    • org.ow2.petals.kernel.server.PetalsServerImpl#recreateConsoleHandler
    • org.ow2.petals.kernel.server.PetalsServerImpl#recreateConsoleHandler
    • org.ow2.petals.kernel.server.PetalsServerImpl#finalizeLoggingInitialization

    All this seems unneeded. If a dedicated configuration is needed to support MONIT traces, just update documentation and provide a correct pre-configured logging system.
    To prevent error in configuration of the logging system about business traces (level MONIT), we can add a check of the configuration, and errors will be logged as WARNING messages.

    Show
    A lot of stuff about logging configuration is done when starting Petals ESB, see:
    • org.ow2.petals.kernel.server.PetalsServerImpl#initializeLogger
    • org.ow2.petals.kernel.server.PetalsServerImpl#forceInitializeGlobalHandlers
    • org.ow2.petals.kernel.server.PetalsServerImpl#recreateConsoleHandler
    • org.ow2.petals.kernel.server.PetalsServerImpl#recreateConsoleHandler
    • org.ow2.petals.kernel.server.PetalsServerImpl#finalizeLoggingInitialization
    All this seems unneeded. If a dedicated configuration is needed to support MONIT traces, just update documentation and provide a correct pre-configured logging system. To prevent error in configuration of the logging system about business traces (level MONIT), we can add a check of the configuration, and errors will be logged as WARNING messages.
  • Environment:
    -

Issue Links

Activity

People

Dates

  • Created:
    Wed, 11 Jul 2012 - 18:20:16 +0200
    Updated:
    Tue, 12 Mar 2013 - 08:17:33 +0100
    Resolved:
    Mon, 3 Sep 2012 - 12:50:29 +0200