Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  * 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
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * See the License for the specific language governing permissions and
 * limitations under the License.
package org.apache.marmotta.platform.core.logging;
Logging module for system-related information (startup, shutdown, ...).

Sebastian Schaffert (
public class SystemLoggingModule extends BaseLoggingModule implements LoggingModule {

Return the default (logback) level used by this logging module. Should in most cases be INFO or WARN.

    public Level getDefaultLevel() {
        return .;

Return a unique identifier for this logging module. This identifier will e.g. be used in the configuration file to store the configuration for this module. For this reason it should only consist of alpha-numeric characters plus _ and _.

a unique identifier for the module, suitable for use in the configuration file
    public String getId() {
        return "system";

Return a human-readable name for this logging module. This name is used for displaying information about the module to the user, e.g. in a configuration interface.

a human-readable name for the module, suitable for displaying in a user interface
    public String getName() {
        return "System";

Return a collection of packages covered by this logging module. This method should be used to group together those packages that conceptually make up the functionality described by the logging module (e.g. "SPARQL").

a collection of package names
    public Collection<StringgetPackages() {
        return ImmutableSet.of(
New to GrepCode? Check out our FAQ X