diff --git a/lib/workers/branch/lock-files.js b/lib/workers/branch/lock-files.js
index 5d2c621701ea90808dc02d28fdee2e05ff18c476..87b63262637a99fb990511383abc5f78d1f39251 100644
--- a/lib/workers/branch/lock-files.js
+++ b/lib/workers/branch/lock-files.js
@@ -92,11 +92,11 @@ function determineLockFileDirs(config) {
 
 async function writeExistingFiles(config) {
   if (config.npmrc) {
-    logger.debug('Writing repo .npmrc');
+    logger.debug({ path: config.tmpDir.path }, 'Writing repo .npmrc');
     await fs.outputFile(upath.join(config.tmpDir.path, '.npmrc'), config.npmrc);
   }
   if (config.yarnrc) {
-    logger.debug('Writing repo .yarnrc');
+    logger.debug({ path: config.tmpDir.path }, 'Writing repo .yarnrc');
     await fs.outputFile(
       upath.join(config.tmpDir.path, '.yarnrc'),
       config.yarnrc