Add var_export for logging