java log4j levels code example Example: logging levels hierarchy // Higher to lower TRACE DEBUG INFO WARN ERROR FATAL OFF