# Public build logs for a private repo site

**URL:** <https://answers.netlify.com/t/public-build-logs-for-a-private-repo-site/30160>\
**Category:** Support\
**Tags:** building\
**Created:** [January 14, 2021, 8:09am UTC](https://answers.netlify.com/t/public-build-logs-for-a-private-repo-site/30160 "2021-01-14T08:09:13Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![jouni](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/jouni/32/3242_2.png) [@jouni](https://answers.netlify.com/u/jouni)\
**Post date:** [January 14, 2021, 8:09am UTC](https://answers.netlify.com/t/public-build-logs-for-a-private-repo-site/30160/1 "2021-01-14T08:09:14Z")

</div>

Hi!

I would like to make the build logs for docs-app-preview.netlify.app public.

---

<div class="post-metadata">

**Author:** ![hrishikesh](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/hrishikesh/32/74607_2.png) [@hrishikesh](https://answers.netlify.com/u/hrishikesh)\
**Post date:** [January 14, 2021, 9:38am UTC](https://answers.netlify.com/t/public-build-logs-for-a-private-repo-site/30160/2 "2021-01-14T09:38:03Z")

</div>

I think there is an option in settings in Netlify UI for that. Does it not work?

---

<div class="post-metadata">

**Author:** ![jouni](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/jouni/32/3242_2.png) [@jouni](https://answers.netlify.com/u/jouni)\
**Post date:** [January 15, 2021, 10:41am UTC](https://answers.netlify.com/t/public-build-logs-for-a-private-repo-site/30160/3 "2021-01-15T10:41:32Z")

</div>

I tried to look for that, but couldn’t find it. Also, this was specifically mentioned in Netlify’s documentation, that you need to ask support to enable public logs for a private repo project [[Support Guide] Debugging Netlify site builds](https://answers.netlify.com/t/support-guide-debugging-netlify-site-builds/142)

---

<div class="post-metadata">

**Author:** ![hrishikesh](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/hrishikesh/32/74607_2.png) [@hrishikesh](https://answers.netlify.com/u/hrishikesh)\
**Post date:** [January 15, 2021, 10:48am UTC](https://answers.netlify.com/t/public-build-logs-for-a-private-repo-site/30160/4 "2021-01-15T10:48:57Z")

</div>

> [@jouni](#):
>
> but couldn’t find it

It’s available here:

 ![image](https://global.discourse-cdn.com/netlify/original/3X/6/9/699261bcfb2db8ab78d3de36fa9fec60ad742b9c.jpeg)

> [@jouni](#):
>
> this was specifically mentioned in Netlify’s documentation

I wasn’t aware of that.

---

<div class="post-metadata">

**Author:** ![jouni](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/jouni/32/3242_2.png) [@jouni](https://answers.netlify.com/u/jouni)\
**Post date:** [January 15, 2021, 10:50am UTC](https://answers.netlify.com/t/public-build-logs-for-a-private-repo-site/30160/5 "2021-01-15T10:50:40Z")

</div>

Yeah, thanks, I noticed that option, when the project is based on a public repo. But when it’s based on a private repo, that option isn’t there. And that is mentioned in here: [Build configuration overview | Netlify Docs](https://docs.netlify.com/configure-builds/get-started/)

> - **Deploy log visibility** : For a site linked to a public repo, the privacy level for the [deploy logs](https://docs.netlify.com/monitor-sites/logs/#deploy-log). The default setting **Public logs** makes deploy logs available to anyone with a deploy detail URL. You can limit deploy log access to site members by selecting **Private logs**.

---

<div class="post-metadata">

**Author:** ![jouni](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/jouni/32/3242_2.png) [@jouni](https://answers.netlify.com/u/jouni)\
**Post date:** [January 15, 2021, 10:52am UTC](https://answers.netlify.com/t/public-build-logs-for-a-private-repo-site/30160/6 "2021-01-15T10:52:06Z")

</div>

Here’s where I read that I could ask for public logs for sites based on private repos: [[Support Guide] Debugging Netlify site builds](https://answers.netlify.com/t/support-guide-debugging-netlify-site-builds/142)

> Most public repositories are set with public build logs, and our Support team can by request make your own site’s build logs public even if it’s a private repository.

---

<div class="post-metadata">

**Author:** ![perry](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/perry/32/16_2.png) [@perry](https://answers.netlify.com/u/perry)\
**Post date:** [January 15, 2021, 6:26pm UTC](https://answers.netlify.com/t/public-build-logs-for-a-private-repo-site/30160/7 "2021-01-15T18:26:31Z")

</div>

hey jouni, this isn’t a very common request, so it doesn’t come up that much! can you tell me which site this is about (either the netlify site name, or the API ID which is safe to share) and i will ask the team about this process (first time someone has asked for this since i have been at netlify 2.5 years ago!)

thanks.

---

<div class="post-metadata">

**Author:** ![jouni](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/jouni/32/3242_2.png) [@jouni](https://answers.netlify.com/u/jouni)\
**Post date:** [January 18, 2021, 8:58am UTC](https://answers.netlify.com/t/public-build-logs-for-a-private-repo-site/30160/8 "2021-01-18T08:58:54Z")

</div>

Hi Perry!

Site: docs-app-preview.netlify.app  
API ID: adce9b1c-56c3-47b9-95ac-dbacd08003ec

---

<div class="post-metadata">

**Author:** ![jouni](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/jouni/32/3242_2.png) [@jouni](https://answers.netlify.com/u/jouni)\
**Post date:** [January 25, 2021, 8:17am UTC](https://answers.netlify.com/t/public-build-logs-for-a-private-repo-site/30160/9 "2021-01-25T08:17:05Z")

</div>

Hi @perry! Any update on this?

---

<div class="post-metadata">

**Author:** ![fool](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/fool/32/37_2.png) [@fool](https://answers.netlify.com/u/fool)\
**Post date:** [January 25, 2021, 11:14pm UTC](https://answers.netlify.com/t/public-build-logs-for-a-private-repo-site/30160/10 "2021-01-25T23:14:44Z")

</div>

Thanks for your patience - think I just got that configured correctly (I tested and it seemed to work as expected).

What I’m not certain about is whether that setting will “stick” if you update site config such as changing build command or production branch or even what branches we build. I’ve only configured this once before and I seem to recall something like that happening.

So - hope it works and keeps working; if it flips back as I guess it might, though, you’ll have to accept that it isn’t possible in the long term and come up with a different strategy like making the repo public or inviting folks to your Netlify team.

Good luck!

---

<div class="post-metadata">

**Author:** ![jouni](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/jouni/32/3242_2.png) [@jouni](https://answers.netlify.com/u/jouni)\
**Post date:** [January 26, 2021, 10:55am UTC](https://answers.netlify.com/t/public-build-logs-for-a-private-repo-site/30160/12 "2021-01-26T10:55:20Z")

</div>

Alright – thanks, @fool, for the help and clarification! And thanks to Netlify for the great service in general 👍

---

<div class="post-metadata">

**Author:** ![perry](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/perry/32/16_2.png) [@perry](https://answers.netlify.com/u/perry)\
**Post date:** [January 26, 2021, 5:45pm UTC](https://answers.netlify.com/t/public-build-logs-for-a-private-repo-site/30160/13 "2021-01-26T17:45:28Z")

</div>

thank you, @jouni! glad we got you the information and help you needed.
