load logger before load stockfunctions.