The document provides examples of log4j.properties configurations to output logging to the console only, a file only, or both the console and a file. The first section configures the root logger to output INFO level and higher logs to the console. The second section changes the root logger to output to a file instead. The third section sets the root logger to output to both the file and console appenders.