Second part of the logger component