logging: update initialization code to use the new LogConfig logic