Refact db initialization script logging