Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

SffLogLog4j ConfiguredResultComments
sff.log=disabled,silentYESNo Logs
  1. If sff.log is marked disabled; No logs are generated. Silent or loud does not matter.
  2. Please note that few message may be printed while the service is getting initialized.
sff.log=enabled,silentYES; sff.log.level="INFO"Only INFO Level log statements as specified in log4j appender

Absolutely no log file at all 

sff.log=enabled,loudYES; sff.log.level="INFO"INFO, ERROR and WARN statements are printed in logNote that sff.log.level is passed into rootLogger value of Log4j configurationAdmin
sff.log=enabled,loudYES; sff.log.level="DEBUG"INFO, ERROR, WARN, DEBUG statements are printed in log

sff.log=enabled,loud

sff.log.trace=enabled

YES; sff.log.level="TRACE"Trace will be enabled; Trace allows you to view Protocol level details for exampleThis is how trace can be enabled.

Logging Cost

  1. Note that Log statements that has Template Processing (TP) in message will be evaluated independent of the level. 
  2. Note the only TP will be processed but Strings will NOT be generated if level is not enabled.
  3. There is a potential to optimize not to perform TP based on level as well. (Enhancement)

Broadcast Log Message

A-Stack allows users to provide facet id on which all the log messages can be broadcast.

...