Train Tracker - Part 3: Scaffolding
This is part 3 of my Train Tracker project. Code from this post can be found in the scaffolding branch on Github. Previous post can be found here. Logging Log messages written to stdout and stderr are captured by systemd for services it manages. We can then access these logs using journalctl. In order to keep external dependencies low, I will be using built-in Java logging infrastructure. Default ConsoleHandler, logs everything to stderr with no option to separate the stream based on log level. I want log levels Warning and above to go to stderr and the rest to stdout. StdConsoleHandler will format using SimpleFormatter. ...