----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/47992/ -----------------------------------------------------------
Review request for samza. Repository: samza Description ------- Often Samza jobs keep running for days (and in our case months). Log messages generated by the job get rolled over. A lot of information that is critical for debugging a job (like the jmx server port, URL, job model for the current container, configuration that was passed to the container) is often printed when the job starts. However, since logs get rolled over (by Yarn/ by sys-administrators) when they exceed a certain size, this information is not obvious. This RB adds a startup logger to the Logging trait. Diffs ----- samza-core/src/main/scala/org/apache/samza/container/SamzaContainer.scala cf3c4c0ab08a59760bc899c6f2027755e933b350 samza-core/src/main/scala/org/apache/samza/metrics/JmxServer.scala ad00ca00f918df4d71d1c920b77027401a55c80b samza-core/src/main/scala/org/apache/samza/util/Logging.scala 250de1e2fa103be1a426d9da31187c12dbff8678 Diff: https://reviews.apache.org/r/47992/diff/ Testing ------- <logger name="STARTUP" additivity="false"> <priority value="info" /> <appender-ref ref="startup_file_appender"/> </logger> Verified log messages are correctly appended in both main, and startup logs. Thanks, Jagadish Venkatraman