This sections allows you to configure how and when events should be logged.

The logging settings can be modified even while the application is running, it does not need to be restarted.

When you want to run an error analysis, you can change the logging level or logging files temporarily

A logging configuration always consists of a logger and a log appender.

For each logger, you can set the desired logging level and the log appender to be used.

Log appenders handle the output, you can set whether they should write to a file or to the console etc. They are also responsible for formatting the log entries.

Setup

  • Add new logger 
    Adds a new logger to the list of available loggers.
  • Add new log appender configuration
    Adds a new log appender to the list of available log appenders.
  • Edit
    Open the screen for editing the configuration of loggers or log appenders.
  • Delete
    Deletes the selected logger or log appender.

The root logger cannot be deleted. Log appenders cannot be deleted when they are still in use by some logger.

Logger settings

  • Name or path of package
    Defines the name of a class or Java package path whose output should be logged.
  • Level
    The logging level, available levels are: ALL, DEBUG, INFO, WARN, ERROR, FATAL, OFF
    Higher logging levels will include all messages of lower logging levels.
  • Log output
    The log appender that should be used for this logger.
  • Pass on log scope to root logger
    This allows you to pass on the log scope to the root logger.

Log appender settings

Editing a log appender of type console.

Editing a log appender of type rolling file.
  • Output type
    The type of output, available types are console and rolling file.
  • Name
    Unique name for this log appender.
  • Log level limit
    Sets a limit for the logging level of this log appender. Available limits are: No limit, DEBUG, INFO, WARN, ERROR, FATAL
  • Layout type
    Sets the format of the log output. Currently, only the pattern layout is supported. The pattern currently in use is shown in the field layout pattern.

The following settings apply to to log appenders of type rolling file.

  • File
    Path to the log file.

Hinweis: The path must exists on the file system and the user running the Xima® Formcycle application must have write rights for that path.

  • Maximum file size
    The maximum file size for an individual log file. When that size has been reached, a new log file will be created.
  • Maximale number of backup files
    The maximum number of backup files that will be created. When this limit has been reached, the oldest backup file will be deleted.
Tags:
Copyright 2000-2024