Results 1 to 2 of 2

Thread: Configuring serviceability in Dm server

  1. #1
    Join Date
    Nov 2008
    Location
    London,UK
    Posts
    299

    Default Configuring serviceability in Dm server

    I had few questions on configuring serviceability.xml.

    Isnt there duplicate logging into console and event log by using the following

    <logger level="INFO" additivity="false" name="com.springsource.osgi.medic.eventlog.localiz ed">
    <appender-ref ref="EVENT_LOG_STDOUT" />
    <appender-ref ref="EVENT_LOG_FILE" />
    </logger>


    Is there any extra information in any one of the logs , or are they(console and evenetlog.log) exactly same ?

    In such case can i comment and use as follows if i do not want logs in console ?

    <logger level="INFO" additivity="false" name="com.springsource.osgi.medic.eventlog.localiz ed">
    <appender-ref ref="EVENT_LOG_FILE" />
    </logger>


    Also same question with sifted log file and log file ? SInt there duplication ?
    Is ant any information present in one which is not there in another.

    <logger level="INFO" additivity="false" name="com.springsource.osgi.medic.eventlog.default ">
    <appender-ref ref="SIFTED_LOG_FILE" />
    <appender-ref ref="LOG_FILE" />
    </logger>

    Note:
    [We do not using plans or PARs , only deploy bundles into pickup directory. ]

  2. #2
    Join Date
    Oct 2008
    Location
    Winchester, UK
    Posts
    535

    Default

    The event log and console contain the same log entries.

    There is duplication between "global" and "per application" trace (i.e. non-event log) and this is intentional.

    By the way, the Logback documentation is highly recommended if you haven't read it already.
    Glyn Normington
    SpringSource

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •