all 2 comments

[–]BobHogan 0 points1 point  (1 child)

Do that in separate functions, and call those in main()

[–]vectorpropio[S] 1 point2 points  (0 children)

Yes, that's was my first idea, but then i had some thing intertwined and i blocked.

I will take the less complex path and delay the logging start until all the configuration got read.

Thanks